diff --git a/app/src/test/java/com/example/cosmosclient/Component.java b/app/src/test/java/com/example/cosmosclient/Component.java new file mode 100644 index 0000000..e831836 --- /dev/null +++ b/app/src/test/java/com/example/cosmosclient/Component.java @@ -0,0 +1,25 @@ +package com.example.cosmosclient; + +public class Component { + private String id; + + public Component() { + } + + public Component(String id) { + this.id = id; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public boolean equals(Object other) { + if (!(other instanceof Component)) return false; + return id.equals(((Component)other).id); + } +}