/** * $URL: https://source.sakaiproject.org/svn/sitestats/trunk/sitestats-impl/src/test/org/sakaiproject/sitestats/test/mocks/FakeUser.java $ * $Id: FakeUser.java 105078 2012-02-24 23:00:38Z ottenhoff@longsight.com $ * * Copyright (c) 2006-2009 The Sakai Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ECL-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.sakaiproject.sitestats.test.mocks; import java.util.Date; import java.util.Stack; import org.sakaiproject.entity.api.ResourceProperties; import org.sakaiproject.time.api.Time; import org.sakaiproject.user.api.User; import org.w3c.dom.Document; import org.w3c.dom.Element; public class FakeUser implements User { String firstName = "First"; String lastName = "Last"; String id = "id"; String eid = "eid"; String email = "some@email.com"; public boolean checkPassword(String arg0) { // TODO Auto-generated method stub return false; } public User getCreatedBy() { // TODO Auto-generated method stub return null; } public Time getCreatedTime() { // TODO Auto-generated method stub return null; } public String getDisplayId() { // TODO Auto-generated method stub return null; } public String getDisplayName() { return firstName + " " + lastName; } public String getEid() { return eid; } public String getEmail() { return email; } public String getFirstName() { return firstName; } public String getLastName() { return lastName; } public User getModifiedBy() { // TODO Auto-generated method stub return null; } public Time getModifiedTime() { // TODO Auto-generated method stub return null; } public String getSortName() { // TODO Auto-generated method stub return null; } public String getType() { // TODO Auto-generated method stub return null; } public String getId() { return id; } public ResourceProperties getProperties() { // TODO Auto-generated method stub return null; } public String getReference() { // TODO Auto-generated method stub return null; } public String getReference(String arg0) { // TODO Auto-generated method stub return null; } public String getUrl() { // TODO Auto-generated method stub return null; } public String getUrl(String arg0) { // TODO Auto-generated method stub return null; } public Element toXml(Document arg0, Stack arg1) { // TODO Auto-generated method stub return null; } public int compareTo(Object o) { // TODO Auto-generated method stub return 0; } public Date getCreatedDate() { // TODO Auto-generated method stub return null; } public Date getModifiedDate() { // TODO Auto-generated method stub return null; } }