@Test public void call_a_method_that_is_not_implemented() {
// GIVEN
// THEN
this.expectedException.expect(FakeJedisNotImplementedException.class);
this.expectedException.expectMessage(StringStartsWith.startsWith("The method "));
this.expectedException.expectMessage(StringContains.containsString("FakeJedis.mget"));
this.expectedException.expectMessage(StringEndsWith.endsWith(" is not implemented in your version of FakeJedis. Contribute on github! https://github.com/vdurmont/fake-jedis"));
// WHEN
this.jedis.mget(KEY);
}
FakeJedisTest.java 文件源码
java
阅读 28
收藏 0
点赞 0
评论 0
项目:fake-jedis
作者:
评论列表
文章目录