﻿using System;
using FluentAssertions;
using ManyConsole.CommandLineUtils;
using NUnit.Framework;
using Trinity.Core;
using Trinity.Infrastructure;
using Trinity.Wallets.Api.Commands;

namespace Trinity.Unit.Tests
{
	public class LocatorTests
	{
		//[Test]
		//public void ConsoleCommandRegistry()
		//{
		//	var commands = Locator.GetAll<ConsoleCommand>();

		//	//debug info
		//	Console.WriteLine(Locator.Instance.WhatDidIScan());
			
		//	//debug info
		//	Console.WriteLine(Locator.Instance.WhatDoIHave());

		//	commands.Should().NotBeEmpty("because we can load and resolve the cli commands");
		//}

		//[Test]
		//public void CanResolveWalletCommands()
		//{

		//	var query = Locator.Get<ISendToAddressCommand>();
		//	query.Should().NotBeNull();
		//}

		//[Test]
		//public void CanResolveLevelDbBlockchain()
		//{

		//	var query = Locator.Get<IBlockchain>();
		//	query.Should().NotBeNull();
		//}
	}
}