test the datasourceConsumer using mockito