edu.udayton.udri.asset.axis/test/edu/udayton/udri/asset/axis/TestCommandProcessorImpl.java
@Test
    public void testSetPanTilt() throws CommandExecutionException
    {
        //Command
        SetPanTiltCommand command = 
                new SetPanTiltCommand().withPanTilt(SpatialTypesFactory.newOrientationOffset(77, 88));
        
        String urlString = m_SUT.processSetPanTilt(command, m_Ip);
        
        assertThat(urlString.contains("pan=77"), is(true));
        assertThat(urlString.contains("tilt=88"), is(true));
    }
/**
     * Verify expected command URL is returned for:
     * MODE: pan/tilt
     */
Verify expected command URL is returned for:
MODE: pan/tilt
Verify expected command URL is returned for : MODE : pan / tilt
@Test
    public void testSetPanTilt() throws CommandExecutionException
    {
        SetPanTiltCommand command = 
                new SetPanTiltCommand().withPanTilt(SpatialTypesFactory.newOrientationOffset(77, 88));
        String urlString = m_SUT.processSetPanTilt(command, m_Ip);
        assertThat(urlString.contains("pan=77"), is(true));
        assertThat(urlString.contains("tilt=88"), is(true));
    }
@ Test public void testSetPanTilt ( ) throws CommandExecutionException { SetPanTiltCommand command = new SetPanTiltCommand ( ) . withPanTilt ( SpatialTypesFactory . newOrientationOffset ( 77 , 88 ) ) ; String urlString = m_SUT . processSetPanTilt ( command , m_Ip ) ; assertThat ( urlString . contains ( "pan=77" ) , is ( true ) ) ; assertThat ( urlString . contains ( "tilt=88" ) , is ( true ) ) ; }
Verify expected command URL is returned for:
 MODE: pan/tilt
Verify expected command URL is returned for : MODE : pan / tilt
//Command