	@Test
	public void testCreateDirectoryStructure_ok() throws Exception {

		final String path = "directoryPath";
		File fileMock = createMock(File.class);

		PersistenceManager tested = new PersistenceManager();

		expectNew(File.class, path).andReturn(fileMock);

		expect(fileMock.exists()).andReturn(false);
		expect(fileMock.mkdirs()).andReturn(true);

		replay(fileMock, File.class);

		assertTrue(tested.createDirectoryStructure(path));

		verify(fileMock, File.class);
	}