@@ -5,27 +5,27 @@ namespace Microscope.Tests {
55 using System . Collections . Immutable ;
66 using System . Reflection ;
77
8+ using FluentAssertions ;
9+
810 using Microsoft . CodeAnalysis ;
911 using Microsoft . VisualStudio . LanguageServices ;
1012 using Microsoft . VisualStudio . TestTools . UnitTesting ;
1113
12- using Shouldly ;
13-
1414 [ TestClass ]
1515 public class GetDocumentExtTests {
1616 [ TestMethod ]
1717 public void VisualStudioWorkspaceImplTypeExists ( ) => typeof ( VisualStudioWorkspace ) . Assembly
1818 . GetType (
1919 "Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl" )
20- . ShouldNotBeNull ( ) ;
20+ . Should ( ) . NotBeNull ( ) ;
2121
2222 [ TestMethod ]
2323 public void ProjectToGuidMapFieldExists ( ) => typeof ( VisualStudioWorkspace ) . Assembly
2424 . GetType (
2525 "Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioWorkspaceImpl" ,
2626 throwOnError : true )
2727 . GetField ( "_projectToGuidMap" , BindingFlags . NonPublic | BindingFlags . Instance )
28- . ShouldNotBeNull ( ) ;
28+ . Should ( ) . NotBeNull ( ) ;
2929
3030 [ TestMethod ]
3131 public void ProjectToGuidMapFieldIsImmutableDictionary ( ) => typeof ( VisualStudioWorkspace ) . Assembly
@@ -34,7 +34,7 @@ public void ProjectToGuidMapFieldIsImmutableDictionary() => typeof(VisualStudioW
3434 throwOnError : true )
3535 . GetField ( "_projectToGuidMap" , BindingFlags . NonPublic | BindingFlags . Instance )
3636 . FieldType
37- . ShouldBe ( typeof ( ImmutableDictionary < ProjectId , Guid > ) ) ;
37+ . Should ( ) . Be ( typeof ( ImmutableDictionary < ProjectId , Guid > ) ) ;
3838
3939 [ TestMethod ]
4040 public void GetDocumentIdInCurrentContextMethodExists ( ) => typeof ( Workspace )
@@ -44,6 +44,6 @@ public void GetDocumentIdInCurrentContextMethodExists() => typeof(Workspace)
4444 binder : null ,
4545 types : new [ ] { typeof ( DocumentId ) } ,
4646 modifiers : null )
47- . ShouldNotBeNull ( ) ;
47+ . Should ( ) . NotBeNull ( ) ;
4848 }
4949}
0 commit comments