add autorankup

This commit is contained in:
okx-code
2018-11-04 20:11:24 +00:00
parent 51a7261bd6
commit d3b830c603
5 changed files with 26 additions and 8 deletions
@@ -0,0 +1,14 @@
package sh.okx.rankup.messages;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.hamcrest.CoreMatchers.*;
public class MessageBuilderTest {
@Test
public void testFailIfEmpty() {
assertThat(new MessageBuilder("").failIfEmpty(), instanceOf(EmptyMessageBuilder.class));
}
}