Skip to content

Commit

Permalink
fix failing tests due to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Apr 19, 2018
1 parent 2af999a commit b0a0abd
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,7 @@ public void decode() throws Exception {
ArrayList<Object> out = new ArrayList<>();
LOGGER.info("{}\nHexDump:\n{}", amsPacket, amsPacket.dump());
SUT.decode(null, amsPacket, out);
assertThat(out, hasSize(1));
assertThat(out.get(0), instanceOf(PlcRequestContainer.class));
PlcRequestContainer<?, ?> plcRequestContainer = (PlcRequestContainer) out.get(0);
assertThat(out, hasSize(0));
LOGGER.info("PlcRequestContainer {}", plcRequestContainer);
PlcResponse plcResponse = plcRequestContainer.getResponseFuture().get();
ResponseItem responseItem = (ResponseItem) plcResponse.getResponseItem().get();
Expand Down

0 comments on commit b0a0abd

Please sign in to comment.