public class JsonFileConfigStoreConfigurationTest extends AbstractDurableConfigurationStoreTestCase
{
@Override
protected VirtualHostNode createVirtualHostNode(String storeLocation, ConfiguredObjectFactory factory)
{
final JsonVirtualHostNode parent = mock(JsonVirtualHostNode.class);
when(parent.getStorePath()).thenReturn(storeLocation);
when(parent.getName()).thenReturn("testName");
when(parent.getObjectFactory()).thenReturn(factory);
when(parent.getModel()).thenReturn(factory.getModel());
return parent;
}