@Test
@DirtiesContext
public void testRateOK() throws Exception {

	AuthIdentity authIdentity = new AuthIdentity();
	Auth auth = new Auth();
	auth.setId("abc");
	authIdentity.setAuth(auth);
	AuthProcessorMock authProcessor =  new AuthProcessorMock(authIdentity);
	checkAuth.whenAnyExchangeReceived(authProcessor);
	RateLimitProcessor rateProcessor = new RateLimitProcessor();
	rateProcessor.setGatewayRateMger(new IGatewayRateManager() {
		@Override
		public LimitCheckResult isAllowed(AuthIdentity authIdentity, boolean isTDREnabled) {
			LimitCheckResult result = new LimitCheckResult();
			return result;
		}
	});
	checkRate.whenAnyExchangeReceived(rateProcessor);
	testMessage.setExpectedMessageCount(1);
	producerTemplate.requestBody(String.class);
	testMessage.assertIsSatisfied();	
}