Improve autowiring for tests (Sonar) (#2217)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -57,8 +57,9 @@ class BusProtoStuffMessageConverterTest {
|
||||
// deserialize
|
||||
when(messageMock.getPayload()).thenReturn(serializedEvent);
|
||||
final Object deserializedEvent = underTest.convertFromInternal(messageMock, RemoteApplicationEvent.class, null);
|
||||
assertThat(deserializedEvent).isInstanceOf(TargetCreatedEvent.class);
|
||||
assertThat(deserializedEvent).isEqualTo(targetCreatedEvent);
|
||||
assertThat(deserializedEvent)
|
||||
.isInstanceOf(TargetCreatedEvent.class)
|
||||
.isEqualTo(targetCreatedEvent);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user