From 5e723f41b3afbc014dfc3aedfb4d6b0259444cb6 Mon Sep 17 00:00:00 2001 From: David Hermann Date: Wed, 1 Feb 2023 19:43:27 +0100 Subject: [PATCH] Update Location.java Added empty constructor for unit tests Added setName() method for unit tests --- src/main/java/org/bitbiome/entities/Location.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/org/bitbiome/entities/Location.java b/src/main/java/org/bitbiome/entities/Location.java index 98c04d1..664509d 100644 --- a/src/main/java/org/bitbiome/entities/Location.java +++ b/src/main/java/org/bitbiome/entities/Location.java @@ -15,6 +15,10 @@ public class Location { this.itemList = itemList; } + public Location() { + + } + public String getName() { return name; @@ -28,6 +32,10 @@ public class Location { return itemList; } + public void setName(String name) { + this.name = name; + } + }