Index: trunk/eCard/eCardMVC/Platnosci.Tests/Web/TestMethods.cs
===================================================================
--- trunk/eCard/eCardMVC/Platnosci.Tests/Web/TestMethods.cs (revision 896)
+++ trunk/eCard/eCardMVC/Platnosci.Tests/Web/TestMethods.cs (revision 930)
@@ -1,9 +1,4 @@
-﻿using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using NUnit.Framework;
+﻿using NUnit.Framework;
 using Platnosci.Core.Linq;
-using Platnosci.Core.Interface;
 
 namespace Platnosci.Tests.Web
@@ -12,5 +7,5 @@
     class TestMethods
     {
-        private Function _f = new Function();
+        private readonly Function _function = new Function();
 
         [Test]
@@ -18,12 +13,12 @@
         public void TestInsertMethodForPayment()
         {
-            FakeDataContext fake = new FakeDataContext();
-            var _rep = new Repository<vPlatnosciEcard>(fake);
+            var fake = new FakeDataContext();
+            var vPlatnosciEcardRepository = new Repository<vPlatnosciEcard>(fake);
 
-            vPlatnosciEcard platnosc = _f.createInvoice(123, "nip", "", 0, 0);
-            _rep.Insert(platnosc);
+            var platnosc = _function.CreateInvoice(123, "nip", "", 0, 0);
+            vPlatnosciEcardRepository.Insert(platnosc);
 
-            System.Diagnostics.Debug.WriteLine("rep.Count: " + _rep.Count());            
-            vPlatnosciEcard pl = _rep.FindOne(123);
+            System.Diagnostics.Debug.WriteLine("rep.Count: " + vPlatnosciEcardRepository.Count());            
+            var pl = vPlatnosciEcardRepository.FindOne(123);
             System.Diagnostics.Debug.WriteLine("Wartosc nip ma byc 'nip'. Jest " + pl.nip);
             Assert.That(pl.nip, Is.EqualTo("nip"));
