@@ -23,7 +23,7 @@ public RequirementsClassTest() throws URISyntaxException {
23
23
24
24
@ Test
25
25
public void className () {
26
- Assert .assertEquals (doc .getClass ().getSimpleName (), "CommandLineToolImpl" );
26
+ Assert .assertEquals ("CommandLineToolImpl" , doc .getClass ().getSimpleName ());
27
27
}
28
28
29
29
@ Test
@@ -38,18 +38,18 @@ public void hints() {
38
38
java .util .Optional <java .util .List <Object >> hints = doc .getHints ();
39
39
Assert .assertTrue (hints .isPresent ());
40
40
java .util .List <Object > hintList = hints .get ();
41
- Assert .assertEquals (hintList .size (), 1 );
41
+ Assert .assertEquals (1 , hintList .size ());
42
42
}
43
43
44
44
@ Test
45
45
public void reqs () {
46
46
java .util .Optional <java .util .List <Object >> reqs = doc .getRequirements ();
47
47
Assert .assertTrue (reqs .isPresent ());
48
48
java .util .List <Object > reqList = reqs .get ();
49
- Assert .assertEquals (reqList .size (), 2 );
49
+ Assert .assertEquals (2 , reqList .size ());
50
50
InlineJavascriptRequirement reqOne = (InlineJavascriptRequirement ) reqList .get (0 );
51
- Assert .assertEquals (reqOne .getClass ().getSimpleName (), "InlineJavascriptRequirementImpl" );
52
- Assert .assertNotEquals (reqList .get (1 ).getClass ().getSimpleName (), "InlineJavascriptRequirementImpl" );
51
+ Assert .assertEquals ("InlineJavascriptRequirementImpl" , reqOne .getClass ().getSimpleName ());
52
+ Assert .assertNotEquals ("InlineJavascriptRequirementImpl" , reqList .get (1 ).getClass ().getSimpleName ());
53
53
}
54
54
55
55
}
0 commit comments