#include "osp/impl/service_publisher_impl.h"
#include <memory>
#include <utility>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
namespace openscreen::osp {
namespace {
_;
Expectation;
NiceMock;
State;
class MockObserver final : public ServicePublisher::Observer { … };
class MockMdnsDelegate : public ServicePublisherImpl::Delegate { … };
class ServicePublisherImplTest : public ::testing::Test { … };
}
TEST_F(ServicePublisherImplTest, NormalStartStop) { … }
TEST_F(ServicePublisherImplTest, StopBeforeRunning) { … }
TEST_F(ServicePublisherImplTest, StartSuspended) { … }
TEST_F(ServicePublisherImplTest, SuspendAndResume) { … }
TEST_F(ServicePublisherImplTest, ObserverTransitions) { … }
}