title: to mock method calls inside spring aspect around method
body: <p>I want to mock method calls inside @Aspect class.</p>
  
  <p>I have class Student. </p>
  
  <pre><code>public class Student{
  public String getName()
  {
  //
  }
  }
  
  I have an Aspect class 
  
  @Aspect
  @Component
  public class StudentAspect{
  
  @Autowired
  B b;
  @Around( // the Student class get method)
  public void around(ProceedingJoinPoint joinPoint)
  {
  b.doSomething();
  }
  }
  </code></pre>
  
  <p>I want to test StudentAspect using Mockito. I programatically created a proxy for Student class so that i could trigger StudentAspect class. However, I am not able mock Class b object. Can anyone please help here. </p>