### Question:
DefaultWroManagerFactory implements WroManagerFactory { public static DefaultWroManagerFactory create(final WroConfiguration configuration) { return create(new ObjectFactory<WroConfiguration>() { public WroConfiguration create() { return configuration; } }); } DefaultWroManagerFactory(final Properties properties); static DefaultWroManagerFactory create(final WroConfiguration configuration); static DefaultWroManagerFactory create(final ObjectFactory<WroConfiguration> configurationFactory); void onCachePeriodChanged(final long value); void onModelPeriodChanged(final long value); WroManager create(); void destroy(); final WroManagerFactory getFactory(); @Override String toString();  }### Answer:
@Test(expected = NullPointerException.class) public void cannotAcceptNullConfiguration() { final WroConfiguration config = null; DefaultWroManagerFactory.create(config); }
@Test(expected = WroRuntimeException.class) public void cannotCreateInvalidConfiguredManagerFactory() { final WroConfiguration config = new WroConfiguration(); config.setWroManagerClassName("invalid.class.name.ManagerFactory"); victim = DefaultWroManagerFactory.create(config); }