@Test public void testGetInsertionAfterMethod_returns_null_by_default() { String insertionAfterMethod = insertableMethodUnderTest.getInsertionAfterMethod(); assertNull(insertionAfterMethod); }
public String getInsertionAfterMethod() { return null; }
InsertableMethod extends Insertable { public String getInsertionAfterMethod() { return null; } }
InsertableMethod extends Insertable { public String getInsertionAfterMethod() { return null; } InsertableMethod(CtClass classToInsertInto); }
InsertableMethod extends Insertable { public String getInsertionAfterMethod() { return null; } InsertableMethod(CtClass classToInsertInto); String getInsertionBeforeMethod(); String getInsertionAfterMethod(); abstract String getFullMethod(); abstract String getBody(); abstract String getTargetMethodName(); String toString(); }
InsertableMethod extends Insertable { public String getInsertionAfterMethod() { return null; } InsertableMethod(CtClass classToInsertInto); String getInsertionBeforeMethod(); String getInsertionAfterMethod(); abstract String getFullMethod(); abstract String getBody(); abstract String getTargetMethodName(); String toString(); static final String BODY_TAG; }