@Test
public void extractNodeIdFromURITestForSwitch()
{

    HmsNodeRateLimiterFilter hmsNodeRateLimiterFilter = new HmsNodeRateLimiterFilter();
    String nodeId =
        hmsNodeRateLimiterFilter.extractNodeIdFromURI( "api/1.0/hms/switches/S1/", EventComponent.SWITCH );
    assertNotNull( nodeId );
    assertEquals( nodeId, "S1" );
}