	@Test
	public void pesquisar() throws ApplicationBusinessException {


//		mockingContext.checking(new Expectations() {
//			{
//				oneOf(mockedAfaTipoUsoMdtoDAO).pesquisar(
//						with(any(Integer.class)), with(any(Integer.class)),
//						with(any(String.class)), with(any(Boolean.class)),
//						with(any(AfaTipoUsoMdto.class)));
//				will(returnValue(Collections.singletonList(tipoUsoMdtoIn)));
//			}
//		});
		
		Mockito.when(
				mockedAfaTipoUsoMdtoDAO.pesquisar(
						Mockito.anyInt(), 
						Mockito.anyInt(), 
						Mockito.anyString(), 
						Mockito.anyBoolean(), 
						Mockito.any(AfaTipoUsoMdto.class)))
				.thenReturn(Collections.singletonList(tipoUsoMdtoIn));

		List<AfaTipoUsoMdto> result = systemUnderTest.pesquisar(1, 10, "sigla",
				true, tipoUsoMdtoAt);

		Assert.assertEquals(Collections.singletonList(tipoUsoMdtoIn), result);

	}