Is this stubbing the system under test? Is that a private method? If so, is there a way to avoid depending on a non-public API?