### Question:
MinijaxRoot extends MinijaxPath<T> implements javax.persistence.criteria.Root<T> { @Override public <X, Y> SetJoin<X, Y> joinSet(final String attributeName) { throw new UnsupportedOperationException(); } MinijaxRoot(final MinijaxEntityType<T> entityType); @Override @SuppressWarnings("unchecked") MinijaxPath<Y> get(final String attributeName); @Override Set<Join<T, ?>> getJoins(); @Override boolean isCorrelated(); @Override From<T, T> getCorrelationParent(); @Override Join<T, Y> join(final SingularAttribute<? super T, Y> attribute); @Override Join<T, Y> join(final SingularAttribute<? super T, Y> attribute, final JoinType jt); @Override CollectionJoin<T, Y> join(final CollectionAttribute<? super T, Y> collection); @Override SetJoin<T, Y> join(final SetAttribute<? super T, Y> set); @Override ListJoin<T, Y> join(final ListAttribute<? super T, Y> list); @Override MapJoin<T, K, V> join(final MapAttribute<? super T, K, V> map); @Override CollectionJoin<T, Y> join(final CollectionAttribute<? super T, Y> collection, final JoinType jt); @Override SetJoin<T, Y> join(final SetAttribute<? super T, Y> set, final JoinType jt); @Override ListJoin<T, Y> join(final ListAttribute<? super T, Y> list, final JoinType jt); @Override MapJoin<T, K, V> join(final MapAttribute<? super T, K, V> map, final JoinType jt); @Override Join<X, Y> join(final String attributeName); @Override CollectionJoin<X, Y> joinCollection(final String attributeName); @Override SetJoin<X, Y> joinSet(final String attributeName); @Override ListJoin<X, Y> joinList(final String attributeName); @Override MapJoin<X, K, V> joinMap(final String attributeName); @Override Join<X, Y> join(final String attributeName, final JoinType jt); @Override CollectionJoin<X, Y> joinCollection(final String attributeName, final JoinType jt); @Override SetJoin<X, Y> joinSet(final String attributeName, final JoinType jt); @Override ListJoin<X, Y> joinList(final String attributeName, final JoinType jt); @Override MapJoin<X, K, V> joinMap(final String attributeName, final JoinType jt); @Override Set<Fetch<T, ?>> getFetches(); @Override Fetch<T, Y> fetch(final SingularAttribute<? super T, Y> attribute); @Override Fetch<T, Y> fetch(final SingularAttribute<? super T, Y> attribute, final JoinType jt); @Override Fetch<T, Y> fetch(final PluralAttribute<? super T, ?, Y> attribute); @Override Fetch<T, Y> fetch(final PluralAttribute<? super T, ?, Y> attribute, final JoinType jt); @Override Fetch<X, Y> fetch(final String attributeName); @Override Fetch<X, Y> fetch(final String attributeName, final JoinType jt); @Override EntityType<T> getModel();  }### Answer:
@Test(expected = UnsupportedOperationException.class) public void testjoinSet1() { root.joinSet(null); }
@Test(expected = UnsupportedOperationException.class) public void testjoinSet2() { root.joinSet((String) null, (JoinType) null); }