Skip to content

Commit

Permalink
mvn spotless:apply applied
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekmaity committed Oct 2, 2023
1 parent 08b8ad8 commit 539fa15
Showing 1 changed file with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
package org.jenkinsci.plugins.badge.dsl;

import org.junit.Test;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.core.IsNull.nullValue;

import org.junit.Test;

public class AddEmbeddableBadgeConfigStepTest {
@Test
public void testConstructor() {
AddEmbeddableBadgeConfigStep addEmbeddableBadgeConfigStep = new AddEmbeddableBadgeConfigStep("test-Id-constructor");
AddEmbeddableBadgeConfigStep addEmbeddableBadgeConfigStep =
new AddEmbeddableBadgeConfigStep("test-Id-constructor");
assertThat(addEmbeddableBadgeConfigStep.getID(), is("test-Id-constructor"));
assertThat(addEmbeddableBadgeConfigStep.getSubject(), is(nullValue()));
assertThat(addEmbeddableBadgeConfigStep.getStatus(), is(nullValue()));
Expand All @@ -19,9 +20,9 @@ public void testConstructor() {
}

@Test
public void testGetAnimatedOverlayColor(){
AddEmbeddableBadgeConfigStep addEmbeddableBadgeConfigStep = new AddEmbeddableBadgeConfigStep("test-animated-overlay-color");
assertThat(addEmbeddableBadgeConfigStep.getColor(),is(nullValue()));
public void testGetAnimatedOverlayColor() {
AddEmbeddableBadgeConfigStep addEmbeddableBadgeConfigStep =
new AddEmbeddableBadgeConfigStep("test-animated-overlay-color");
assertThat(addEmbeddableBadgeConfigStep.getColor(), is(nullValue()));
}

}
}

0 comments on commit 539fa15

Please sign in to comment.