@Test
public void deleteAll() {

    graphService.deleteAll();
    verify(sessionMock).beginTransaction();
    verify(sessionMock).deleteAll(ClassNode.class);
    verify(sessionMock).deleteAll(ArchitectureNode.class);
    verifyNoMoreInteractions(sessionMock);
    verify(txMock).commit();
}