Is that possible to create and validate the below start method
public class testBatch implements Database.Batchable<SObject>
{
public Database.QueryLocator start(Database.BatchableContext batchableContextVar)
{
return Database.getQueryLocator('SELECT Id,Name FROM User');
}
...
what i want is to create test class and assert the below
List<Sobject> sObjecList = testBatch.start(BC)//struck here to create BC
System.Assert(sObjectList.size()>0);
Just want to check this is possible.