@Test
  public void whenSetAttributeValueThenBecomeDirty() {
    DecomListContainerDetail decomListContainerDetail = new DecomListContainerDetail();
    assertThat(decomListContainerDetail.isDirty()).isFalse();

    decomListContainerDetail = new DecomListContainerDetail();
    decomListContainerDetail.setContainerRecordId("01");
    assertThat(decomListContainerDetail.isDirty()).isTrue();

    decomListContainerDetail = new DecomListContainerDetail();
    decomListContainerDetail.setFull(true);
    assertThat(decomListContainerDetail.isDirty()).isTrue();
  }
  @Test
  public void whenConvertingStructureWithoutSetValuesThenRemainsEqual() throws Exception {

    DecomListContainerDetail decomListContainerDetail = new DecomListContainerDetail();

    String stringValue = factory.toString(decomListContainerDetail);
    DecomListContainerDetail builtDecomListContainerDetail =
        (DecomListContainerDetail) factory.build(stringValue);
    String stringValue2 = factory.toString(builtDecomListContainerDetail);

    assertThat(builtDecomListContainerDetail).isEqualTo(decomListContainerDetail);
    assertThat(stringValue2).isEqualTo(stringValue);
    assertThat(builtDecomListContainerDetail.isDirty()).isFalse();
  }