I am trying to do a test to check the View returns the correct string. I am very new to NUnit testing, and have looked into a few tutorials but I am not sure on what im doing wrong.
using System;
namespace ItemTracker
{
public enum Category{Book,StorageDevice,Stationary};
class Item{
    private string _id;
    private double _price;
    private Category _category;
    public Item(string id, double price, Category category){
        _id=id;
        _price=price;
        _category=category;
    }
    public string ID{
            get{return _id;}
            set{_id=value;}
    }
    public double Price{
            get{return _price;}
            set{_price=value;}
    }
    public Category Category{
            get{return _category;}
            set{_category=value;}
    }
    public string View(){
            if(_category==Category.Book){
                    return "Get ready for the adventure!";
            }
            else if(_category==Category.StorageDevice){
                    return "Data storing in progress";
            }
            else if(_category==Category.Stationary){
                    return "Learn something new with me!";
            }
            else{
                    return "Invalid";
            }
    }
    }
}
This is my TestClass.cs and what I have already tried, which is to put the values of the output which I want to the array:
using NUnit.Framework;
using System;
namespace ItemTracker
{
[TestFixture()]
class testclass{
    [Test()]
    public void Testing(Item[] j){
        j[0]=new Item("B1001",39.90,Category.Book);
        foreach(Item x in j){
            Assert.AreEqual("Get ready for the adventure!",x.View());
        }
    }
}
}
However im getting an error message:
  Error Message:
   No arguments were provided
 
     
    