Files
InterfaceGenerator/InterfaceGenerator.Tests/PartialClassTests.cs
T
2022-07-26 20:22:27 +02:00

16 lines
398 B
C#

using System;
using FluentAssertions;
using InterfaceGenerator.Tests.Partial;
using Xunit;
namespace InterfaceGenerator.Tests;
public class PartialClassTests
{
[Fact]
public void GeneratesMethodFromOtherParts()
{
var tInterface = typeof(IPartialClass);
tInterface.GetMethods().Should().Contain(x => x.Name == nameof(PartialClass.SomeMethodThatShouldGenerate));
}
}