@@ -0,0 +1,1338 @@
+/**%0A * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.%0A * If a copy of the MPL was not distributed with this file, You can obtain one at%0A * http://mozilla.org/MPL/2.0/.%0A *%0A * This Source Code Form is also subject to the terms of the Health-Related Additional%0A * Disclaimer of Warranty and Limitation of Liability available at%0A * http://www.carewebframework.org/licensing/disclaimer.%0A */%0Apackage org.carewebframework.api.security;%0A%0Aimport org.carewebframework.api.domain.IUser;%0A%0A/**%0A * Mock user for testing.%0A */%0Apublic class MockUser implements IUser %7B%0A    %0A    private final String logicalId;%0A    %0A    private final String fullName;%0A    %0A    private final String domainName;%0A    %0A    public MockUser(String logicalId, String fullName, String domainName) %7B%0A        this.logicalId = logicalId;%0A        this.fullName = fullName;%0A        this.domainName = domainName;%0A    %7D%0A    %0A    @Override%0A    public String toString() %7B%0A        return fullName;%0A    %7D%0A    %0A    @Override%0A    public String getFullName() %7B%0A        return fullName;%0A    %7D%0A    %0A    @Override%0A    public String getDomainName() %7B%0A        return domainName;%0A    %7D%0A    %0A    @Override%0A    public String getLogicalId() %7B%0A        return logicalId;%0A    %7D%0A    %0A    @Override%0A    public MockUser getNativeUser() %7B%0A        return this;%0A    %7D%0A    %0A%7D%0A

Fix unit test.