    @Test
    public void testGetParamOrHeaderValue()
    {

        System.out.println("Testing getParam(String, String)");
        String expected = "valid";
        
        assertEquals("Parameter should have been returned", expected, this.producer.getParam(expected, "invalid"));
        assertEquals("Parameter should have been returned", expected, this.producer.getParam(expected, null));

        assertEquals("Header should have been returned", expected, this.producer.getParam(null, expected));
        assertEquals("Header should have been returned", expected, this.producer.getParam("", expected));

        assertNull("Null should have been returned", this.producer.getParam("null", expected));
        assertNull("Null should have been returned", this.producer.getParam(null, null));
        assertNull("Null should have been returned", this.producer.getParam("", null));

    }