/*
 * Copyright 2017, TeamDev Ltd. All rights reserved.
 *
 * Redistribution and use in source and/or binary forms, with or without
 * modification, must retain the above copyright notice and the following
 * disclaimer.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

package org.spine3.test;

public class VerifyShould {
}

@@ -1040,34 +1040,2148 @@
 t;%0A%0A
-public class VerifyShould %7B
+import org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport java.lang.reflect.Type;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertTrue;%0Aimport static org.junit.Assert.fail;%0A%0Apublic class VerifyShould %7B%0A%0A    @Test%0A    public void extend_Assert_class() %7B%0A        final Type expectedSuperclass = Assert.class;%0A        final Type actualSuperclass = Verify.class.getGenericSuperclass();%0A        assertEquals(expectedSuperclass, actualSuperclass);%0A    %7D%0A%0A    @Test%0A    public void have_private_ctor() %7B%0A        assertTrue(Tests.hasPrivateUtilityConstructor(Verify.class));%0A    %7D%0A%0A    @SuppressWarnings(%7B%22ThrowCaughtLocally%22, %22ErrorNotRethrown%22%7D)%0A    @Test%0A    public void mangle_assertion_error() %7B%0A        final AssertionError sourceError = new AssertionError();%0A        final int framesBefore = sourceError.getStackTrace().length;%0A%0A        try %7B%0A            throw Verify.mangledException(sourceError);%0A        %7D catch (AssertionError e) %7B%0A            final int framesAfter = e.getStackTrace().length;%0A%0A            assertEquals(framesBefore - 1, framesAfter);%0A        %7D%0A    %7D%0A%0A    @SuppressWarnings(%7B%22ThrowCaughtLocally%22, %22ErrorNotRethrown%22%7D)%0A    @Test%0A    public void mangle_assertion_error_for_specified_frame_count() %7B%0A        final AssertionError sourceError = new AssertionError();%0A        final int framesBefore = sourceError.getStackTrace().length;%0A        final int framesToPop = 3;%0A%0A        try %7B%0A            throw Verify.mangledException(sourceError, framesToPop);%0A        %7D catch (AssertionError e) %7B%0A            final int framesAfter = e.getStackTrace().length;%0A%0A            assertEquals(framesBefore - framesToPop + 1, framesAfter);%0A        %7D%0A    %7D%0A%0A    @SuppressWarnings(%22ErrorNotRethrown%22)%0A    @Test%0A    public void fail_with_specified_message_and_cause() %7B%0A        final String message = %22Test failed%22;%0A        final Throwable cause = new Error();%0A%0A        try %7B%0A            Verify.fail(message, cause);%0A            fail(%22Error was not thrown%22);%0A        %7D catch (AssertionError e) %7B%0A            assertEquals(message, e.getMessage());%0A            assertEquals(cause, e.getCause());%0A        %7D%0A    %7D%0A
 %0A%7D%0A

Add tests for base `Verify` functionality