Package waffle.mock

Class MockWindowsAccount

java.lang.Object
waffle.mock.MockWindowsAccount
All Implemented Interfaces:
waffle.windows.auth.IWindowsAccount

public class MockWindowsAccount extends Object implements waffle.windows.auth.IWindowsAccount
The Class MockWindowsAccount.
  • Field Details

  • Constructor Details

    • MockWindowsAccount

      public MockWindowsAccount(String newFqn)
      Instantiates a new mock windows account.
      Parameters:
      newFqn - the new fqn
    • MockWindowsAccount

      public MockWindowsAccount(String newFqn, String newSid)
      Instantiates a new mock windows account.
      Parameters:
      newFqn - the new fqn
      newSid - the new sid
  • Method Details

    • getDomain

      public String getDomain()
      Specified by:
      getDomain in interface waffle.windows.auth.IWindowsAccount
    • getFqn

      public String getFqn()
      Specified by:
      getFqn in interface waffle.windows.auth.IWindowsAccount
    • getName

      public String getName()
      Specified by:
      getName in interface waffle.windows.auth.IWindowsAccount
    • getSidString

      public String getSidString()
      Specified by:
      getSidString in interface waffle.windows.auth.IWindowsAccount