@Test public void convertToModelListEmptyArgsListTest() { List<EndpointGroupState> list = MongoDaoUtil.convertDtoToModelList(Collections.<EndpointGroupStateDto>emptyList()); Assert.assertNull(list); }
@Test public void convertToModelListNullArgsListTest() { List<EndpointGroupState> list = MongoDaoUtil.convertDtoToModelList(null); Assert.assertNull(list); }
this.endpointUserId = dto.getEndpointUserId(); this.accessToken = dto.getAccessToken(); this.groupState = MongoDaoUtil.convertDtoToModelList(dto.getGroupState()); this.sequenceNumber = dto.getSequenceNumber(); this.epsConfigurationHash = dto.getEpsConfigurationHash();