@Test
public void getVariantToSelectWithoutVariants() {

  when(myAndroidProject.getVariants()).thenReturn(Collections.emptyList());
  Variant variant = myVariantSelector.findVariantToSelect(myAndroidProject);
  assertNull(variant);
}