Files
server/test/Core.Test/Services/RepositoryEventWriteServiceTests.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
689 B
C#
Raw Normal View History

using Bit.Core.Repositories;
using Bit.Core.Services;
using NSubstitute;
using Xunit;
2022-08-29 14:53:16 -04:00
namespace Bit.Core.Test.Services;
public class RepositoryEventWriteServiceTests
{
2022-08-29 14:53:16 -04:00
private readonly RepositoryEventWriteService _sut;
2022-08-29 14:53:16 -04:00
private readonly IEventRepository _eventRepository;
2022-08-29 14:53:16 -04:00
public RepositoryEventWriteServiceTests()
{
_eventRepository = Substitute.For<IEventRepository>();
2022-08-29 14:53:16 -04:00
_sut = new RepositoryEventWriteService(_eventRepository);
}
2022-08-29 14:53:16 -04:00
// Remove this test when we add actual tests. It only proves that
// we've properly constructed the system under test.
[Fact]
public void ServiceExists()
{
Assert.NotNull(_sut);
}
}