Package com.fasterxml.jackson.module.jsonSchema

Source Code of com.fasterxml.jackson.module.jsonSchema.TestEquals

package com.fasterxml.jackson.module.jsonSchema;

import com.fasterxml.jackson.module.jsonSchema.types.NullSchema;
import com.fasterxml.jackson.module.jsonSchema.types.ObjectSchema;

/**
* @author Yoann Rodière
*/
public class TestEquals extends SchemaTestBase {
 
  public void testEquals() throws Exception {
    ObjectSchema schema1 = new ObjectSchema();
    ObjectSchema schema2 = new ObjectSchema();
    schema2.getProperties().put("property1", new NullSchema());
   
    assertTrue(!schema1.equals(schema2));
  }

}
TOP

Related Classes of com.fasterxml.jackson.module.jsonSchema.TestEquals

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.