System.Reflection.Tests.AssemblyNameTests.FullName_CurrentlyExecutingAssembly C# (CSharp) Method

FullName_CurrentlyExecutingAssembly() private method

private FullName_CurrentlyExecutingAssembly ( ) : void
return void
        public void FullName_CurrentlyExecutingAssembly()
        {
            AssemblyName assemblyName = typeof(AssemblyNameTests).GetTypeInfo().Assembly.GetName();
            Assert.StartsWith("System.Reflection.Tests", assemblyName.FullName);
            Assert.Equal(assemblyName.Name.Length, assemblyName.FullName.IndexOf(','));
        }