public void should_create_the_alias_with_the_property_name() { var projectionAlias = new ProjectionAlias(_propertyAccessor, false); projectionAlias.Apply(_criteria); _criteria.AssertWasCalled(x => x.CreateAlias(Arg <string> .Is.Equal("Person"), Arg <string> .Is.Equal("Person"), Arg <JoinType> .Is.Anything)); }