public void IsApplicableTriggerContext_Deletion_ReturnsFalse() { // Arrange var completionContext = new VSInternalCompletionContext() { InvokeKind = VSInternalCompletionInvokeKind.Deletion }; // Act var result = RazorCompletionEndpoint.IsApplicableTriggerContext(completionContext); // Assert Assert.False(result); }
public void IsApplicableTriggerContext_Typing_ReturnsTrue() { // Arrange var completionContext = new VSInternalCompletionContext() { InvokeKind = VSInternalCompletionInvokeKind.Typing }; // Act var result = RazorCompletionEndpoint.IsApplicableTriggerContext(completionContext); // Assert Assert.True(result); }