@@ -0,0 +1,1406 @@
+/*%0A * Copyright (c) 2002-2016 %22Neo Technology,%22%0A * Network Engine for Objects in Lund AB %5Bhttp://neotechnology.com%5D%0A *%0A * This product is licensed to you under the Apache License, Version 2.0 (the %22License%22).%0A * You may not use this product except in compliance with the License.%0A *%0A * This product may include a number of subcomponents with%0A * separate copyright notices and license terms. Your use of the source%0A * code for these subcomponents is subject to the terms and%0A *  conditions of the subcomponent's license, as noted in the LICENSE file.%0A */%0A%0Apackage org.neo4j.ogm.persistence.session.capability;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.neo4j.ogm.domain.music.Album;%0Aimport org.neo4j.ogm.domain.music.Recording;%0Aimport org.neo4j.ogm.session.Session;%0Aimport org.neo4j.ogm.session.SessionFactory;%0Aimport org.neo4j.ogm.testutil.MultiDriverTestClass;%0A%0A/**%0A * @author vince%0A */%0Apublic class DeleteCapabilityTest extends MultiDriverTestClass %7B%0A%0A    private Session session = new SessionFactory(%22org.neo4j.ogm.domain.music%22).openSession();%0A%0A    @Before%0A    public void init() %7B%0A        session.clear();%0A    %7D%0A%0A    @Test%0A    public void shouldNotFailIfDeleteNodeEntityAgainstEmptyDatabase() %7B%0A        session.deleteAll(Album.class);%0A    %7D%0A%0A    @Test%0A    public void shouldNotFailIfDeleteRelationshipEntityAgainstEmptyDatabase() %7B%0A        session.deleteAll(Recording.class);%0A    %7D%0A%7D%0A

Verify delete all works as expected on empty database