blob: 7c57190b1b676edbe1254c2e09ef23ad1612e17f [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "peridot/bin/ledger/encryption/impl/encryption_service_factory_impl.h"
#include "peridot/bin/ledger/testing/test_with_environment.h"
#include "gtest/gtest.h"
namespace encryption {
namespace {
using EncryptionServiceFactoryTest = ledger::TestWithEnvironment;
TEST_F(EncryptionServiceFactoryTest, MakeEncryptionService) {
EncryptionServiceFactoryImpl factory(&environment_);
EXPECT_TRUE(factory.MakeEncryptionService("namespace_id"));
}
} // namespace
} // namespace encryption