@Test
public void testKradUifTemplateHeaderMetadata() {

    FormView formView = new FormView();
    ViewHeader viewHeader = new ViewHeader();
    formView.setHeader(viewHeader);
    Message headerMetadataMessage = new Message();
    viewHeader.setMetadataMessage(headerMetadataMessage);
    assertSame(headerMetadataMessage, ObjectPropertyUtils.getPropertyValue(formView, "header.metadataMessage"));
}