@Test
public void testParseNodeWhenNoRequestInterceptorShouldCreateDescriptor() {

    //GIVEN
    ResponseInterceptor responseInterceptor = new MockResponseInterceptor();
    given(interceptorNode.getAttribute("name")).willReturn(NAME);
    given(interceptorNode.getAttribute("class")).willReturn(CLASS);
    given(interceptorNode.getElementsByTagName("param")).willReturn(null);
    given(requestInterceptorInitializer.getExternalClassObject(CLASS)).willReturn(null);
    given(responseInterceptorInitializer.getExternalClassObject(CLASS)).willReturn(responseInterceptor);
    //WHEN
    InterceptorDescriptor actual = underTest.parseNode(interceptorNode, document);
    //THEN
    assertEquals(actual.getRequestInterceptor(), null);
    assertEquals(actual.getResponseInterceptor(), responseInterceptor);
}