Remove useless eq()'s

This commit is contained in:
tastybento 2024-03-15 18:52:24 -07:00
parent 6127cdced1
commit 5ad2ba1cd9

View File

@ -268,7 +268,7 @@ public class NewIslandTest {
verify(builder, times(2)).build();
verify(bpb).getUniqueId();
verify(ice).getBlueprintBundle();
verify(pm).setDeaths(eq(world), eq(uuid), eq(0));
verify(pm).setDeaths(world, uuid, 0);
verify(im, never()).setHomeLocation(eq(user), any());
}
@ -287,7 +287,7 @@ public class NewIslandTest {
verify(builder, times(2)).build();
verify(bpb).getUniqueId();
verify(ice).getBlueprintBundle();
verify(pm).setDeaths(eq(world), eq(uuid), eq(0));
verify(pm).setDeaths(world, uuid, 0);
verify(im, never()).setHomeLocation(eq(user), any());
}
@ -305,7 +305,7 @@ public class NewIslandTest {
verify(builder, times(2)).build();
verify(bpb).getUniqueId();
verify(ice).getBlueprintBundle();
verify(pm).setDeaths(eq(world), eq(uuid), eq(0));
verify(pm).setDeaths(world, uuid, 0);
verify(im, never()).setHomeLocation(eq(user), any());
verify(island).setProtectionRange(eq(20));
verify(island).setReserved(eq(false));
@ -326,7 +326,7 @@ public class NewIslandTest {
verify(builder, times(2)).build();
verify(bpb).getUniqueId();
verify(ice).getBlueprintBundle();
verify(pm).setDeaths(eq(world), eq(uuid), eq(0));
verify(pm).setDeaths(world, uuid, 0);
verify(im, never()).setHomeLocation(eq(user), any());
verify(island).setProtectionRange(eq(20));
//verify(plugin).logError("New island for user tastybento was not reserved!");
@ -348,7 +348,7 @@ public class NewIslandTest {
verify(builder, times(2)).build();
verify(bpb).getUniqueId();
verify(ice).getBlueprintBundle();
verify(pm).setDeaths(eq(world), eq(uuid), eq(0));
verify(pm).setDeaths(world, uuid, 0);
verify(im, never()).setHomeLocation(eq(user), any());
verify(island).setProtectionRange(eq(20));
verify(plugin).logError("New island for user tastybento was not reserved!");