	@SuppressWarnings("unchecked")
	@Test
	public void testSendMessage() {

		
			
		Set<GatewayResponse> voiceResponseSet = new HashSet<GatewayResponse>();
		voiceResponseSet.add(voiceGatewayResponse);
		
		expect(voiceManager.sendMessage(voiceGatewayRequest)).andReturn(voiceResponseSet);
		replay(voiceManager);
		compositeGateway.sendMessage(voiceGatewayRequest);
		verify(voiceManager);
		
		Set<GatewayResponse> textResponseSet = new HashSet<GatewayResponse>();
		textResponseSet.add(textGatewayResponse);
		
		expect(textManager.sendMessage(textGatewayRequest)).andReturn(textResponseSet);
		replay(textManager);
		compositeGateway.sendMessage(textGatewayRequest);
		verify(textManager);
		
	}