@@ -0,0 +1,1234 @@
+/*%0A *  Copyright (c) 2017 Ot%C3%A1vio Santana and others%0A *   All rights reserved. This program and the accompanying materials%0A *   are made available under the terms of the Eclipse Public License v1.0%0A *   and Apache License v2.0 which accompanies this distribution.%0A *   The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html%0A *   and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php.%0A *%0A *   You may elect to redistribute this code under either of these licenses.%0A *%0A *   Contributors:%0A *%0A *   Otavio Santana%0A *   Lucas Furlaneto%0A */%0Apackage org.jnosql.diana.orientdb.document;%0A%0Aimport org.junit.jupiter.api.Test;%0A%0Aimport static org.junit.jupiter.api.Assertions.assertNotNull;%0Aimport static org.junit.jupiter.api.Assertions.assertThrows;%0A%0Apublic class OrientDBLiveCallbackBuilderTest %7B%0A%0A    @Test%0A    public void shouldBuildWithAtLeastOneCallback() %7B%0A        OrientDBLiveCallback build = OrientDBLiveCallbackBuilder.builder().onCreate(d -%3E %7B%0A        %7D).build();%0A%0A        assertNotNull(build);%0A    %7D%0A%0A    @Test%0A    public void shouldThrowException() %7B%0A        assertThrows(IllegalArgumentException.class, () -%3E OrientDBLiveCallbackBuilder.builder().build());%0A    %7D%0A%7D%0A

Add Callback builder tests