VkNet.Tests.VkApiTest.VkGetApiUrlShouldBePublic C# (CSharp) 메소드

VkGetApiUrlShouldBePublic() 개인적인 메소드

private VkGetApiUrlShouldBePublic ( ) : void
리턴 void
        public void VkGetApiUrlShouldBePublic()
        {
            // arrange
            var myType = (typeof(VkApi));
            var myArrayMethodInfo = myType.GetMethods();

            // act
            var getApiUrlMethod = myArrayMethodInfo.FirstOrDefault(x => x.Name.Contains("GetApiUrl"));

            // Assert
            Assert.IsNotNull(getApiUrlMethod);
            Assert.IsTrue(getApiUrlMethod.IsPublic);
        }