  @Test
  public void testBuildMinikubeCommand() {

    spyAbstractMinikubeMojo.setMinikube("path/to/minikube");
    spyAbstractMinikubeMojo.setFlags(ImmutableList.of("someFlag1", "someFlag2"));

    Mockito.when(spyAbstractMinikubeMojo.getCommand()).thenReturn("somecommand");
    Mockito.when(spyAbstractMinikubeMojo.getMoreFlags())
        .thenReturn(ImmutableList.of("moreFlag1", "moreFlag2"));

    Assert.assertEquals(
        Arrays.asList(
            "path/to/minikube", "somecommand", "someFlag1", "someFlag2", "moreFlag1", "moreFlag2"),
        spyAbstractMinikubeMojo.buildMinikubeCommand());
  }