Skip to content

Commit 59edffb

Browse files
committed
Removed exception flow.
1 parent 6572488 commit 59edffb

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

ocpp-v1_6/src/test/java/eu/chargetime/ocpp/model/test/RemoteStartTransactionRequestTest.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -75,23 +75,6 @@ public void setConnectorId_positiveInteger_connectorIdIsSet() throws Exception {
7575
assertThat(request.getConnectorId(), equalTo(someInteger));
7676
}
7777

78-
@Test
79-
public void setIdTag_nullValue_throwsPropertyConstraintException() {
80-
// Given
81-
IdToken nullValue = null;
82-
83-
try {
84-
// When
85-
request.setIdTag(nullValue);
86-
87-
Assert.fail("Expected PropertyConstraintException");
88-
} catch (PropertyConstraintException ex) {
89-
// Then
90-
assertThat(ex.getFieldKey(), equalTo("idTag"));
91-
assertThat(ex.getFieldValue(), equalTo(nullValue));
92-
}
93-
}
94-
9578
@Test
9679
public void setIdTag_someIdToken_idTagIsSet() throws Exception {
9780
// Given

0 commit comments

Comments
 (0)