private static final SimplePortfolioNode NODE = new SimplePortfolioNode(UniqueId.of("A", "B"), "Name");
private static final Position POSITION = new SimplePosition(UniqueId.of("Test", "1"), new BigDecimal(1), ExternalIdBundle.EMPTY);
private static final Security SECURITY = new SimpleSecurity(UniqueId.of("Test", "SEC"), ExternalIdBundle.EMPTY, "Test security", "EQUITY");
public void test_constructor() {
final SecuritySource secSource = new InMemorySecuritySource();
final PositionSource posSource = new MockPositionSource();
final DefaultComputationTargetResolver test = new DefaultComputationTargetResolver(secSource, posSource);
assertSame(secSource, test.getSecuritySource());
assertSame(posSource, test.getPositionSource());
}