@Test public void testDerive() { DataFactory result = factory.derive(); assertThat( result, is( instanceOf( ExternalDataFactory.class ) ) ); assertThat( (ExternalDataFactory) result, is( equalTo( factory ) ) ); assertThat( (ExternalDataFactory) result, is( sameInstance( factory ) ) ); }
public DataFactory derive() { return this; }
ExternalDataFactory extends AbstractDataFactory { public DataFactory derive() { return this; } }
ExternalDataFactory extends AbstractDataFactory { public DataFactory derive() { return this; } ExternalDataFactory(); }
ExternalDataFactory extends AbstractDataFactory { public DataFactory derive() { return this; } ExternalDataFactory(); TableModel queryData( final String query, final DataRow parameters ); DataFactory derive(); void close(); boolean isQueryExecutable( final String query, final DataRow parameters ); String[] getQueryNames(); }
ExternalDataFactory extends AbstractDataFactory { public DataFactory derive() { return this; } ExternalDataFactory(); TableModel queryData( final String query, final DataRow parameters ); DataFactory derive(); void close(); boolean isQueryExecutable( final String query, final DataRow parameters ); String[] getQueryNames();  }