Barclays interview question

Selenium Java oops concept BDD