Two possibilities for this:
1) Create a base class that both test cases inherit from
2) Define an external helper function that both test cases call in their setUp() methods.