  @Test
  public void testProvisioningProfileIsNull() throws Exception
  {

    Map<String, String> managedOptions = new HashMap<String, String>();
    managedOptions.put(Options.ManagedOption.CONFIGURATION.getOptionName(), "Release");
    managedOptions.put(Options.ManagedOption.SDK.getOptionName(), "mysdk");
    managedOptions.put(Options.ManagedOption.PROJECT.getOptionName(), "MyLibrary.xcodeproj");
    Options options = new Options(null, managedOptions);

    final XCodeContext xCodeContext = new XCodeContext(Arrays.asList("clean", "build"), projectDirectory, System.out,
          null, options);
    Assert.assertNull(xCodeContext.getProvisioningProfile());
  }