@Test
public void postPotentialDuplicateMissingRequiredPropertyTeiA()
{

    try
    {
        controller.postPotentialDuplicate( new PotentialDuplicate() );
    }
    catch ( WebMessageException e )
    {
        WebMessage wm = e.getWebMessage();
        assertEquals( "Conflict", wm.getHttpStatus() );
        assertEquals( 409, wm.getHttpStatusCode().intValue() );
        assertEquals( Status.ERROR, wm.getStatus() );
        assertEquals( "Missing required property 'teiA'", wm.getMessage() );
    }
}