@Test
public void testDecreaseWhenUsageIsHitcountAndValValueIsOneShouldDisableDD() {

    //GIVEN
    attributes = new DialogDescriptorAttributes("name", DialogDescriptorUsage.HITCOUNT);
    attributes.setHitcount(1);
    dialogDescriptor = new DialogDescriptor(attributes, null, null);
    //WHEN
    underTest.decreaseHitcountWhenUsageIsHitcount(dialogDescriptor);
    //THEN
    assertEquals(dialogDescriptor.getAttributes().getUsage(), DialogDescriptorUsage.DISABLED);
}