public void should_not_find_any_type_from_excluded_assembly_with_full_named() { //----------------------------------------------------------------------------------------------------------- // Arrange //----------------------------------------------------------------------------------------------------------- // None. //----------------------------------------------------------------------------------------------------------- // Act //----------------------------------------------------------------------------------------------------------- FromAssemblyDefiner instance = AssemblyScanner.FromAssemblyInThisApplicationDirectory(); //----------------------------------------------------------------------------------------------------------- // Assert //----------------------------------------------------------------------------------------------------------- instance.ExcludeAssemblyFullNamed("FluentAssemblyScanner.Test.AdditionalAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null") .BasedOn <IAdditionalAssemblyService>() .Filter() .Scan() .Count.Should().Be(0); }