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