@MockClass(realClass = VcInventory.class)
public class MockVcInventory {
@Mock
static public List<VcCluster> getClusters() {
VcCluster cluster1 = Mockito.mock(VcCluster.class);
VcDatastore ds1 = Mockito.mock(VcDatastore.class);
Mockito.when(ds1.getName()).thenReturn("test_1");
List<VcDatastore> dsList1 = new ArrayList<VcDatastore>();
dsList1.add(ds1);
Mockito.when(cluster1.getAllDatastores()).thenReturn(dsList1);
List<VcCluster> clusters = new ArrayList<VcCluster>();
clusters.add(cluster1);