public void ReturnsWithEmptyId() { var locator = UserLocator.WithId(null); Assert.AreEqual("username:", locator.ToString()); }
public void ReturnsWithUserId() { var locator = BuildLocator.WithDimensions(user: UserLocator.WithId("9999")); Assert.AreEqual("user:(id:9999)", locator.ToString()); }