EdmEntityType edmEntityType = EasyMock.createMock(EdmEntityType.class);
List<NavigationSegment> navigationSegments = new ArrayList<NavigationSegment>();
final EdmNavigationProperty navigationProperty = createNavigationProperty("a");
final EdmNavigationProperty navigationProperty1 = createNavigationProperty("b");
final List<KeyPredicate> keyPredicates = createKeyPredicates(toThrowException);
NavigationSegment navigationSegment = new NavigationSegment() {
@Override
public EdmNavigationProperty getNavigationProperty() {
return navigationProperty;
}
@Override
public List<KeyPredicate> getKeyPredicates() {
return keyPredicates;
}
@Override
public EdmEntitySet getEntitySet() {
// TODO Auto-generated method stub
return null;
}
};
NavigationSegment navigationSegment1 = new NavigationSegment() {
@Override
public EdmNavigationProperty getNavigationProperty() {
return navigationProperty1;
}