def METHOD_NAME(mocker, cobbler_api):
    # Arrange
    netboot_stub = create_autospec(spec=NetbootBuildiso)
    standalone_stub = create_autospec(spec=StandaloneBuildiso)
    mocker.patch("cobbler.api.StandaloneBuildiso", return_value=standalone_stub)
    mocker.patch("cobbler.api.NetbootBuildiso", return_value=netboot_stub)
    # Act
    cobbler_api.build_iso()
    # Assert
    assert netboot_stub.run.call_count == 1
    assert standalone_stub.run.call_count == 0