### Question:
StoreApi { @ApiOperation(value = "Returns pet inventories by status", notes = "Returns a map of status codes to quantities", nickname = "getInventory", tags = { "store" }) @ApiResponses(value = { @ApiResponse(code = 200, message = "successful operation") }) public GetInventoryOper getInventory() { return new GetInventoryOper(createReqSpec()); } private  StoreApi(Supplier<RequestSpecBuilder> reqSpecSupplier); static StoreApi store(Supplier<RequestSpecBuilder> reqSpecSupplier); List<Oper> getAllOperations(); @ApiOperation(value = "Delete purchase order by ID", notes = "For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors", nickname = "deleteOrder", tags = { "store" }) @ApiResponses(value = { @ApiResponse(code = 400, message = "Invalid ID supplied") , @ApiResponse(code = 404, message = "Order not found") }) DeleteOrderOper deleteOrder(); @ApiOperation(value = "Returns pet inventories by status", notes = "Returns a map of status codes to quantities", nickname = "getInventory", tags = { "store" }) @ApiResponses(value = { @ApiResponse(code = 200, message = "successful operation") }) GetInventoryOper getInventory(); @ApiOperation(value = "Find purchase order by ID", notes = "For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions", nickname = "getOrderById", tags = { "store" }) @ApiResponses(value = { @ApiResponse(code = 200, message = "successful operation") , @ApiResponse(code = 400, message = "Invalid ID supplied") , @ApiResponse(code = 404, message = "Order not found") }) GetOrderByIdOper getOrderById(); @ApiOperation(value = "Place an order for a pet", notes = "", nickname = "placeOrder", tags = { "store" }) @ApiResponses(value = { @ApiResponse(code = 200, message = "successful operation") , @ApiResponse(code = 400, message = "Invalid Order") }) PlaceOrderOper placeOrder(); StoreApi reqSpec(Consumer<RequestSpecBuilder> reqSpecCustomizer);  }### Answer:
@Test public void shouldSee200AfterGetInventory() { api.getInventory().execute(r -> r.prettyPeek()); }