9899100101102103104105
// No expected type. RuntimePolicyReference runtime = new NormalizedPolicyReferenceImpl( projectMock, "/fred.foo", null); Policy policy = fetcher.fetchPolicy(runtime); assertSame("Policy", policyMock, policy); }
127128129130131132133134
// No expected type. RuntimePolicyReference runtime = new NormalizedPolicyReferenceImpl( projectMock, "/fred.foo", PolicyType.IMAGE); Policy policy = fetcher.fetchPolicy(runtime); assertNull("Policy", policy); }
157158159160161162163164
// No expected type. RuntimePolicyReference runtime = new NormalizedPolicyReferenceImpl( projectMock, "http://www.volantis.com/fred.foo", PolicyType.AUDIO); Policy policy = fetcher.fetchPolicy(runtime); assertSame("Policy", policyMock, policy); }