File tree Expand file tree Collapse file tree
src/test/java/de/rwth/idsg/steve Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414import org .junit .BeforeClass ;
1515import org .junit .Test ;
1616
17+ import javax .xml .ws .soap .SOAPFaultException ;
18+
1719import static de .rwth .idsg .steve .utils .Helpers .getForOcpp12 ;
1820import static de .rwth .idsg .steve .utils .Helpers .getForOcpp15 ;
1921import static de .rwth .idsg .steve .utils .Helpers .getForOcpp16 ;
@@ -88,7 +90,10 @@ public void testOcpp15() {
8890 Assert .assertEquals (ocpp .cs ._2012 ._06 .AuthorizationStatus .ACCEPTED , auth .getIdTagInfo ().getStatus ());
8991 }
9092
91- @ Test
93+ /**
94+ * SOAPFaultException because we are sending an AuthorizeRequest from an random/unknown station.
95+ */
96+ @ Test (expected = SOAPFaultException .class )
9297 public void testOcpp16 () {
9398 ocpp .cs ._2015 ._10 .CentralSystemService client = getForOcpp16 (path );
9499
You can’t perform that action at this time.
0 commit comments