Files
2024-05-17 11:58:54 +01:00

19 lines
440 B
C#

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