コード例 #1
0
 @Test
 public void checkMultipleInstances() throws InterruptedException {
   assertThat(client.getAllFlavours().size(), is(2));
   assertThat(client.getAllFlavours(), hasItems("Vanilla", "Chocolate"));
 }
コード例 #2
0
 @Test
 public void checkBeanBundleClient() throws InterruptedException {
   assertThat(client.getFlavour(), is("Chocolate"));
 }