### Question:
DefaultAtlasContextFactory implements AtlasContextFactory, AtlasContextFactoryMXBean { protected boolean isClassAtlasModule(Class<?> clazz, Class<?> moduleInterface) { if (clazz == null) { return false; } if (isAtlasModuleInterface(clazz, moduleInterface) && clazz.isAnnotationPresent(AtlasModuleDetail.class)) { if (LOG.isDebugEnabled()) { LOG.debug("{} is a '{}' implementation", clazz.getCanonicalName(), moduleInterface.getSimpleName()); } return true; } if (LOG.isDebugEnabled()) { LOG.debug("{} is NOT a '{}' implementation", clazz.getCanonicalName(), moduleInterface.getSimpleName()); } return false; } private  DefaultAtlasContextFactory(); static DefaultAtlasContextFactory getInstance(); @Override synchronized void init(); synchronized void init(CompoundClassLoader cl); @Override void setProperties(Map<String, String> properties); @Override void setProperties(Properties properties); @Override Map<String, String> getProperties(); @Override synchronized void destroy(); @Override AtlasContext createContext(File atlasMappingFile); @Override AtlasContext createContext(URI atlasMappingUri); AtlasContext createContext(AtlasMapping mapping); @Override AtlasContext createContext(Format format, InputStream stream); @Override String getClassName(); @Override String getThreadName(); void setThreadName(String threadName); @Override String getVersion(); @Override String getUuid(); ObjectName getJmxObjectName(); AtlasModuleInfoRegistry getModuleInfoRegistry(); void setModuleInfoRegistry(AtlasModuleInfoRegistry registry); @Override AtlasConversionService getConversionService(); @Override AtlasFieldActionService getFieldActionService(); @Override AtlasCombineStrategy getCombineStrategy(); void setCombineStrategy(AtlasCombineStrategy atlasCombineStrategy); @Override AtlasPropertyStrategy getPropertyStrategy(); @Override void setPropertyStrategy(AtlasPropertyStrategy atlasPropertyStrategy); @Override AtlasSeparateStrategy getSeparateStrategy(); void setSeparateStrategy(AtlasSeparateStrategy atlasSeparateStrategy); @Override AtlasValidationService getValidationService(); void setValidationService(AtlasValidationService atlasValidationService); CompoundClassLoader getClassLoader(); @Override void addClassLoader(ClassLoader cl); void setClassLoader(CompoundClassLoader cl);  }### Answer:
@Test public void testIsClassAtlasModule() { factory = DefaultAtlasContextFactory.getInstance(); assertFalse(factory.isClassAtlasModule(null, null)); assertFalse(factory.isClassAtlasModule(AtlasModuleDetail.class, AtlasModule.class)); assertFalse(factory.isAtlasModuleInterface(null, null)); }