remove `setIsSuccess` and `getIsSuccess` as they are used only by tests. use reflection to set protected property and `assertAttributeXXX` method to check them