@Test
public void testParseNodeWhenNoParamsShouldReturnEmptyTemplateFormatterParams() {

    //GIVEN
    getChildNodes();
    given(element.getNodeType()).willReturn(Node.ELEMENT_NODE);
    given(element.getTagName()).willReturn(TEMPLATE_FORMATTER_TAG);
    given(element.getAttribute("class")).willReturn("class");
    given(element.getElementsByTagName("param")).willReturn(null);
    //WHEN
    Set<ResponseFormatterDescriptor> actual = underTest.parseNode(node, document);
    //THEN
    assertTrue(((ResponseFormatterDescriptor) actual.toArray()[0]).getParams().getAllParameters().isEmpty());
}