com.atlassian.jira.pageobjects.project.fields
Class MockProjectsDialogProject

java.lang.Object
  extended by com.atlassian.jira.pageobjects.project.fields.MockProjectsDialogProject
All Implemented Interfaces:
ProjectsDialogProject

public class MockProjectsDialogProject
extends Object
implements ProjectsDialogProject

Mock implementation for easy comparisons in tests.

Since:
v4.4

Constructor Summary
MockProjectsDialogProject(String name, String avatarSrc)
           
 
Method Summary
 boolean equals(Object o)
           
 String getAvatarSrc()
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockProjectsDialogProject

public MockProjectsDialogProject(String name,
                                 String avatarSrc)
Method Detail

getName

public String getName()
Specified by:
getName in interface ProjectsDialogProject

getAvatarSrc

public String getAvatarSrc()
Specified by:
getAvatarSrc in interface ProjectsDialogProject

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2012 Atlassian. All Rights Reserved.