@Test
public void testToDto() {

    CommandDoc commandDoc = new CommandDocMapper().toDto(qavCommand1);
    CommandDoc expected = new CommandDoc();
    expected.setName("cmd1");
    expected.setDescription("desc1");
    expected.setResult("result1");
    assertThat(commandDoc, notNullValue());
    assertThat(commandDoc, is(expected));
}