In reply to harsh pandya:
See Why is my code not failing when accessing non static method from not static class? | Verification Academy