@Test @Transactional public void findAPdcAxisValueByItsPk() { PdcAxisValue value = dao.findOne(aPdcAxisValuePk(3, 1)); assertThat(value, notNullValue()); assertThat(value, is(equalTo(aPdcAxisValue("3", "1")))); }
@Transactional private PdcAxisValue findPdcAxisValue(String valueId, String axisId) { return dao.findOne(PdcAxisValuePk.aPdcAxisValuePk(valueId, axisId)); }