I am writing unit tests for a class that has a method that calls other methods of the same class. This is leading to a lot of scenarios to be tested. 

I am of the opinion that I can spy() the behaviour of the method calls so that I am testing only the method under test and not bothered about other methods behaviour. I will cover them through a separate test for each of those methods.

```
class MyClass{

  public void myMethodToBeTested(){
     aPrivateMethod();
     aPublicMethod();
  }

  private void aPrivateMethod(){
   // doing something
   // Has some if else scenarios
  }

  public void aPublicMethod(){
   // doing something
   // Has some if else scenarios
  }
}

```

What would be best way to unit test this class?