assertThat(newDatabase.shouldCreateNew(),is(false));
}
@Test
public void testGetSessionFromService() throws Exception {
final GraphDatabaseService database = new TestGraphDatabaseFactory().newImpermanentDatabase();
SessionService.setDatabaseInfo(DatabaseInfo.expose(database));
serviceForId(SESSION_ID, true);
serviceForId(SESSION_ID, false);
noServiceForId(SESSION_ID+"foo",false);
}