@Test
public void tryToGetDeleteAttributesLiveCommandForCreateAttributesCommand() {

    final Command<?> commandMock = Mockito.mock(Command.class);
    assertThatExceptionOfType(ClassCastException.class)
            .isThrownBy(() -> DeleteAttributesLiveCommandImpl.of(commandMock))
            .withMessageContaining(DeleteAttributes.class.getName())
            .withNoCause();
}