コード例 #1
0
  @Test
  public void getProxies() {
    List<Proxy> proxies = Lists.newArrayList(new Proxy());
    when(aclServiceDao.getProxies()).thenReturn(proxies);

    final List<Proxy> list = subject.getProxies();
    assertThat(list, is(proxies));
  }