mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/utils/TestReflectionsUtil.java
@Test
    public void testRetrieveSetMethodWithClassWithNoMethods()
    {
        TestClassNoMethods noMethods = new TestClassNoMethods();
        
        Method returnedMethod = ReflectionsUtil.retrieveSetMethod(noMethods, "methodName");
        
        assertThat(returnedMethod, nullValue());
    }
/**
     * Verify class with no methods returns null.
     */
Verify class with no methods returns null.
Verify class with no methods returns null .
@Test
    public void testRetrieveSetMethodWithClassWithNoMethods()
    {
        TestClassNoMethods noMethods = new TestClassNoMethods();
        Method returnedMethod = ReflectionsUtil.retrieveSetMethod(noMethods, "methodName");
        assertThat(returnedMethod, nullValue());
    }
@ Test public void testRetrieveSetMethodWithClassWithNoMethods ( ) { TestClassNoMethods noMethods = new TestClassNoMethods ( ) ; Method returnedMethod = ReflectionsUtil . retrieveSetMethod ( noMethods , "methodName" ) ; assertThat ( returnedMethod , nullValue ( ) ) ; }
Verify class with no methods returns null.
Verify class with no methods returns null .