How shell I do that in the test case?