ma.glasnost.orika.test.community
Class Issue21TestCase
java.lang.Object
ma.glasnost.orika.test.community.Issue21TestCase
@ContextConfiguration(locations="classpath:Issue21TestCase-context.xml")
@Transactional
@DirtiesContext
public class Issue21TestCase
- extends Object
- Author:
- Dmitriy Khomyakov, matt.deboer@gmail.com
TODO: this particular test case is imported AS-IS, but should probably
be trimmed down to the specific issue of concern here which is:
Reuse of the same MappingStrategy over map(source) and map(source, dest)
is not valid, since the mapping strategy implementations are distinguished
by whether or not they instantiate or map in place (among other things).
This means that the MappingStrategyKey needs to reflect whether or not
the destination object is provided, since a different strategy must be
used...
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Issue21TestCase
public Issue21TestCase()
getSession
protected org.hibernate.Session getSession()
init
public void init()
testMapUser
public void testMapUser()
testChangeAuthoritiesOfUser
public void testChangeAuthoritiesOfUser()
testChangeGroup
public void testChangeGroup()
Copyright © 2012 Glasnost. All Rights Reserved.