@Test
public void testSetStatusShouldDisableTheSelectedStubDescriptor() {

    //GIVEN in setUp
    normalStubDescriptors = new LinkedHashMap<>();
    attributes = new StubDescriptorAttributes(GROUPNAME_FIRST, true);
    stubDescriptor = new StubDescriptor(attributes, new ArrayList<DialogDescriptor>(), new ArrayList<InterceptorDescriptor>(), null);
    normalStubDescriptors.put(GROUPNAME_FIRST, stubDescriptor);
    //WHEN
    underTest = new ChangeStatusCommand(false, GROUPNAME_FIRST, request, urlAccessLogMessageAssembler);
    Map<String, StubDescriptor> result = underTest.modify(normalStubDescriptors);
    //THEN
    StubDescriptor resultDescriptor = result.get(GROUPNAME_FIRST);
    Assert.assertNotNull(resultDescriptor);
    boolean resultAttribute = resultDescriptor.getAttributes().isActive();
    Assert.assertFalse(resultAttribute);
}