// Path: json-unit/src/main/java/net/javacrumbs/jsonunit/JsonAssert.java
// public static void assertJsonEquals(Object expected, Object actual) {
//     assertJsonEquals(expected, actual, configuration);
// }
// 
// Path: json-unit-assertj/src/main/java/net/javacrumbs/jsonunit/assertj/JsonAssertions.java
// @NotNull
// public static ConfigurableJsonAssert assertThatJson(@Nullable Object actual) {
//     return new ConfigurableJsonAssert(actual, Configuration.empty());
// }


import org.junit.jupiter.api.Test;
import java.time.Instant;
import static net.javacrumbs.jsonunit.JsonAssert.assertJsonEquals;
import static net.javacrumbs.jsonunit.assertj.JsonAssertions.assertThatJson;
/**
 * Copyright 2009-2019 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package net.javacrumbs.jsonunit.test.jackson2config;




class Jackson2ConfigTest {

    @Test
    void testSerializeTime() {
        assertThatJson(new Bean()).isEqualTo("{time:'2019-01-11T18:12:00Z'}");
    }

    @Test
    void testSerializeTime2() {
        assertThatJson(new Bean()).isEqualTo(new Bean());
    }

    @Test
    void assertSame() {
        String s = "{ \"a\": 0.0 }";
// Path: json-unit/src/main/java/net/javacrumbs/jsonunit/JsonAssert.java
// public static void assertJsonEquals(Object expected, Object actual) {
//     assertJsonEquals(expected, actual, configuration);
// }
// 
// Path: json-unit-assertj/src/main/java/net/javacrumbs/jsonunit/assertj/JsonAssertions.java
// @NotNull
// public static ConfigurableJsonAssert assertThatJson(@Nullable Object actual) {
//     return new ConfigurableJsonAssert(actual, Configuration.empty());
// }


// Path: tests/test-jackson2-config/src/test/java/net/javacrumbs/jsonunit/test/jackson2config/Jackson2ConfigTest.java
import org.junit.jupiter.api.Test;
import java.time.Instant;
import static net.javacrumbs.jsonunit.JsonAssert.assertJsonEquals;
import static net.javacrumbs.jsonunit.assertj.JsonAssertions.assertThatJson;

/**
 * Copyright 2009-2019 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package net.javacrumbs.jsonunit.test.jackson2config;




class Jackson2ConfigTest {

    @Test
    void testSerializeTime() {
        assertThatJson(new Bean()).isEqualTo("{time:'2019-01-11T18:12:00Z'}");
    }

    @Test
    void testSerializeTime2() {
        assertThatJson(new Bean()).isEqualTo(new Bean());
    }

    @Test
    void assertSame() {
        String s = "{ \"a\": 0.0 }";
        assertJsonEquals(s, s);