DataServiceMetaObjectFactory implements IMetaStoreObjectFactory { @Override public Map<String, String> getContext( Object pluginObject ) throws MetaStoreException { return Collections.emptyMap(); } DataServiceMetaObjectFactory( List<PushDownFactory> factories ); @Override Object instantiateClass( final String className, Map<String, String> objectContext ); @Override Map<String, String> getContext( Object pluginObject );  }
@Test public void testGetContextIsEmpty() throws MetaStoreException { initObjectFactory(); assertThat( objectFactory.getContext( null ).size(), is( 0 ) ); }