public void FromCodeShouldReturnEntityTypeWhenGivenMatchingCode()
        {
            var entityType = InvestmentVehicleType.FromCode(InvestmentVehicleType.Portfolio.Code);

            Assert.Equal(entityType, InvestmentVehicleType.Portfolio);
        }
        public void FromCodeShouldReturnNullWhenGivenNonMatchingCode()
        {
            var entityType = InvestmentVehicleType.FromCode('3');

            Assert.Null(entityType);
        }