public void PrepareIdentifier_InitialStateIncluded_ReturnsIdentifierAndInitialState()
 {
     Assert.AreEqual("testIdentifier?-ion-initial-state=testState", IdentifiersController.PrepareIdentifier("testIdentifier", "testState"));
 }
 public void PrepareIdentifier_InvalidInput_ThrowsArgumentException()
 {
     Assert.ThrowsException <ArgumentException>(() => IdentifiersController.PrepareIdentifier(string.Empty));
     Assert.ThrowsException <ArgumentException>(() => IdentifiersController.PrepareIdentifier(" ")); //whitespace
 }
 public void PrepareIdentifier_InitialStateWhiteSpace_ReturnsIdentifier()
 {
     Assert.AreEqual("testIdentifier", IdentifiersController.PrepareIdentifier("testIdentifier", "  "));
 }
 public void PrepareIdentifier_InvalidInput_ThrowsArgumentNullException()
 {
     Assert.ThrowsException <ArgumentNullException>(() => IdentifiersController.PrepareIdentifier(null));
 }