diff --git a/test/fr/devinsy/xidyn/presenters/PresenterTest.java b/test/fr/devinsy/xidyn/utils/XidynUtilsTest.java similarity index 72% rename from test/fr/devinsy/xidyn/presenters/PresenterTest.java rename to test/fr/devinsy/xidyn/utils/XidynUtilsTest.java index 67c1b8b..4100901 100644 --- a/test/fr/devinsy/xidyn/presenters/PresenterTest.java +++ b/test/fr/devinsy/xidyn/utils/XidynUtilsTest.java @@ -1,4 +1,4 @@ -package fr.devinsy.xidyn.presenters; +package fr.devinsy.xidyn.utils; import org.fest.assertions.Assertions; import org.junit.Test; @@ -6,7 +6,7 @@ import org.junit.Test; /** * */ -public class PresenterTest +public class XidynUtilsTest { /** * @@ -16,7 +16,7 @@ public class PresenterTest { String source = "aaaaahellozzzzz"; - String target = Presenter.extractBodyContent(source); + String target = XidynUtils.extractBodyContent(source); Assertions.assertThat(target).isEqualTo("hello"); } @@ -28,7 +28,7 @@ public class PresenterTest { String source = "aaaaaaahellozzzzz"; - String target = Presenter.extractBodyContent(source); + String target = XidynUtils.extractBodyContent(source); Assertions.assertThat(target).isEqualTo(""); } @@ -40,7 +40,7 @@ public class PresenterTest { String source = "aaaaazzzzz"; - String target = Presenter.extractBodyContent(source); + String target = XidynUtils.extractBodyContent(source); Assertions.assertThat(target).isEqualTo(""); } @@ -52,7 +52,7 @@ public class PresenterTest { String source = "aaaaa hello zzzzz"; - String target = Presenter.extractBodyContent(source); + String target = XidynUtils.extractBodyContent(source); Assertions.assertThat(target).isEqualTo("hello"); } }