All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Java.libraries.jersey3.model_test.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
{{>licenseInfo}}

package {{package}};

{{#imports}}import {{import}};
{{/imports}}

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

/**
 * Model tests for {{classname}}
 */
public class {{classname}}Test {
    {{#models}}
    {{#model}}
    {{^vendorExtensions.x-is-one-of-interface}}
    {{^isEnum}}
    private final {{classname}} model = new {{classname}}();

    {{/isEnum}}
    /**
     * Model tests for {{classname}}
     */
    @Test
    public void test{{classname}}() {
        // TODO: test {{classname}}
    }

    {{#allVars}}
    /**
     * Test the property '{{name}}'
     */
    @Test
    public void {{name}}Test() {
        // TODO: test {{name}}
    }

    {{/allVars}}
    {{/vendorExtensions.x-is-one-of-interface}}
    {{/model}}
    {{/models}}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy