  @Test()
  public void shouldGenerateContent() {

    // Given
    final String expectedContent = "-u:nik" + ourlineSeparator + "arg1" + ourlineSeparator + "arg 2";
    final List<CommandLineArgument> additionalArgs = Arrays.asList(new CommandLineArgument("arg1", CommandLineArgument.Type.PARAMETER), new CommandLineArgument("arg 2", CommandLineArgument.Type.PARAMETER));

    final ResourceGenerator<UserCredentials> instance = createInstance();

    // When
    final String content = instance.create(new UserCredentials("someprofile", "nik", "aaa", WindowsIntegrityLevel.Auto, LoggingLevel.Off, additionalArgs));

    // Then
    myCtx.assertIsSatisfied();
    then(content.trim().replace("\n", " ").replace("\r", "")).isEqualTo(expectedContent.trim().replace("\n", " ").replace("\r", ""));
  }