![JAR search and dependency download from the Maven repository](/logo.png)
dart-dio.model_test.mustache Maven / Gradle / Ivy
{{>header}}
{{#models}}
{{#model}}
import 'package:{{pubName}}/model/{{classFilename}}.dart';
import 'package:test/test.dart';
// tests for {{{classname}}}
void main() {
{{^isEnum}}
{{! Due to required vars without default value we can not create a full instance here }}
final instance = {{{classname}}}Builder();
// TODO add properties to the builder and call build()
{{/isEnum}}
group({{{classname}}}, () {
{{#vars}}
{{#description}}
// {{{.}}}
{{/description}}
// {{{dataType}}} {{{name}}}{{#defaultValue}} (default value: {{{.}}}){{/defaultValue}}
test('to test the property `{{{name}}}`', () async {
// TODO
});
{{/vars}}
});
}
{{/model}}
{{/models}}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy