We can also create test case for this method returning true value.