@@ -1,15 +1,16 @@
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using AllTheSame.Entity.Model;
using AllTheSame.Repository.Common;
using AllTheSame.Service;
using AllTheSame.Service.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AllTheSame.Repository.Common;
using AllTheSame.Entity.Model;
using System.Data.Entity;
using System.Threading;
namespace AllTheSame.Service.Common.Tests

namespace AllTheSame.ServiceTests.Common
{
[TestClass()]
public class EntityServiceTests
@@ -42,7 +43,7 @@ public EntityServiceTests()

private void Init()
{
Context = new Entity.Model.AllTheSameDbContext();
Context = new AllTheSameDbContext();

var uow = new UnitOfWork(Context);
var respository = new GenericRepository<Person>(Context);
@@ -73,11 +74,9 @@ public void AddTest()
//Service.Add()
var p1 = new Person() { FirstName = "Person1_First", LastName = "Service_Add", Email = "person1@repos.com", CreatedOn = DateTime.UtcNow };

Person item;

//add
var added = Service.Add(p1);
var res = Context.SaveChanges();
Context.SaveChanges();

//Assert.IsTrue(res > 0);

@@ -94,26 +93,21 @@ public void AddManyTest()

var pList = new List<Person>() { p1, p2, p3 };

IEnumerable<Person> list;

//add many
Service.AddMany(pList.ToArray());

list = Service.GetAll();
list = Service.FindBy(p => p.LastName == "Service_AddMany");
var list = Service.FindBy(p => p.LastName == "Service_AddMany");
list = list.ToList();

var found = list.Count() >= 3;
Assert.IsTrue(found == true);
Assert.IsTrue(found);
}

[TestMethod()]
public void DeleteTest()
{
var p1 = new Person() { FirstName = "Person1_First", LastName = "Delete", Email = "person1@repos.com" };

Person item;

//add so we can delete
var added = Service.Add(p1);

@@ -122,7 +116,9 @@ public void DeleteTest()

//now delete
var deleted = Service.Delete(added);
var res = Context.SaveChanges();
if (deleted == null) throw new ArgumentNullException();
Debug.Assert(Context != null, "Context != null");
Context.SaveChanges();

var found = Service.FindBy(p => p.Id == deleted.Id).Count();
Assert.IsTrue(found == 0);//should be missing, returning a null on find
@@ -137,21 +133,19 @@ public void RemoveManyTest()

var pList = new List<Person>() { p1, p2, p3 };

IEnumerable<Person> list;

//add RemoveMany, so we can actually remove them
Service.AddMany(pList.ToArray());

Thread.Sleep(2000);

list = Service.GetAll();
var list = Service.GetAll();
var initialCount = list.Count();

list = Service.FindBy(p => p.LastName == "RemoveMany");
list = list.ToList();

var found = list.Count() >= 3;
Assert.IsTrue(found == true);
Assert.IsTrue(found);

Service.RemoveMany(pList.ToArray());

@@ -183,7 +177,8 @@ public void EditTest()
temp.LastName = text;

Service.Edit(temp);
var res = Context.SaveChanges();
Debug.Assert(Context != null, "Context != null");
Context.SaveChanges();
//Assert.IsTrue(res > 0);

//get it again
@@ -200,32 +195,31 @@ public void UpdateManyTest()

var pList = new List<Person>() { p1, p2, p3 };

IEnumerable<Person> list;

//add many
Service.UpdateMany(pList.ToArray());

Thread.Sleep(2000);
list = Service.FindBy(p => p.LastName == "UpdateMany");
var list = Service.FindBy(p => p.LastName == "UpdateMany");
list = list.ToList();

var found = list.Count() >= 3;
Assert.IsTrue(found == true);
Assert.IsTrue(found);
}

[TestMethod()]
public void SaveTest()
{
var id = 2;
const int id = 2;
var list = Service.FindBy(w => w.Id == id).SingleOrDefault();

if (list.CreatedOn == null)
if (list != null && list.CreatedOn == null)
list.CreatedOn = DateTime.UtcNow;
if (list == null) return;
list.UpdatedOn = DateTime.UtcNow;

Service.Edit(list);

var res = Service.Save();
Service.Save();

Assert.IsNotNull(list);
//Assert.IsTrue(res > 0);
@@ -234,9 +228,7 @@ public void SaveTest()
[TestMethod()]
public void GetAllTest()
{
IEnumerable<Person> list;

list = Service.GetAll();
var list = Service.GetAll();
list = list.ToList();

Assert.IsNotNull(list);
@@ -267,7 +259,7 @@ public void GetListAsyncTest()
[TestMethod()]
public void GetSingleTest()
{
var id = 2;
const int id = 2;
var item = Service.GetSingle(r => r.Id == id);
Assert.IsNotNull(item);
Assert.IsTrue(item.Id > 0);
@@ -276,7 +268,7 @@ public void GetSingleTest()
[TestMethod()]
public void GetSingleAsyncTest()
{
var id = 2;
const int id = 2;
var item = Service.GetSingleAsync(r => r.Id == id);
Assert.IsNotNull(item);
Assert.IsTrue(item.Id > 0);
@@ -285,7 +277,7 @@ public void GetSingleAsyncTest()
[TestMethod()]
public void FindByTest()
{
var id = 2;
const int id = 2;
var item = Service.FindBy(r => r.Id == id).SingleOrDefault();
Assert.IsNotNull(item);
Assert.IsTrue(item.Id > 0);
@@ -294,7 +286,7 @@ public void FindByTest()
[TestMethod()]
public void FindByAsyncTest()
{
var id = 2;
const int id = 2;
var item = Service.FindByAsync(r => r.Id == id);
Assert.IsNotNull(item);
Assert.IsTrue(item.Id > 0);
@@ -1,11 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AllTheSame.Service.Implementation.Custom;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AllTheSame.Service.Implementation.Custom.Tests
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AllTheSame.ServiceTests.Implementation.Custom
{
[TestClass()]
public class AppointmentManagementTests
@@ -13,8 +13,8 @@ Scenario: Address--Add, Check, GetById, Update and Delete Address
When I call the add Address Post api endpoint to add a Address it checks if exists pulls item edits it and deletes it
Then the add result should be a Address Id check exists get by id edit and delete with http response returns

@Addresss
#C[R]UD - [Get] :: Retrieve all addresss, without passing anything
@Addresses
#C[R]UD - [Get] :: Retrieve all addresses, without passing anything
Scenario: Retrieve all addresses
#Given I am an authenticated user
When I call the Address Get api endpoint
@@ -29,16 +29,16 @@ Scenario: Retrieve all addresses
# When I call the add Address Post api endpoint to add a address
# Then the add result should be a Address Id
#
#@Addresss
##C[R]UD - [Get] :: Retrieve all addresss, without passing anything
#@Addresses
##C[R]UD - [Get] :: Retrieve all addresses, without passing anything
#Scenario: Retrieve all addresses
# #Given I am an authenticated user
# When I call the Address Get api endpoint
# Then the get result should be a list of addresses
#
#@Address
##C[R]UD - [Get] :: Retrieve an existing address, by passing a address Id
#Scenario: Retreive a address by Id
#Scenario: Retrieve a address by Id
# Given the following Address GetById input
# | Id |
# | 2 |
@@ -8,7 +8,7 @@
Scenario: Alert--Add, Check, GetById, Update and Delete alert
Given the following Alert Add input
| Description | AlertTypeId |
| SpecFlow | 3 |
| SpecFlow | 1 |
When I call the add Alert Post api endpoint to add a alert it checks if exists pulls item edits it and deletes it
Then the add result should be a Alert Id check exists get by id edit and delete with http response returns

@@ -21,7 +21,7 @@ Scenario: Alert--Retrieve all alerts
#
#@Alert
##C[R]UD - [Get] :: Retrieve an existing alert, by passing a alert Id
#Scenario: Retreive a alert by Id
#Scenario: Retrieve a alert by Id
# Given the following Alert GetById input
# | Id |
# | 3 |
@@ -19,15 +19,15 @@ Scenario: AlertType--Retrieve all AlertTypes
When I call the AlertType Get api endpoint
Then the get result should be a list of AlertTypes

#@AlertType
##[C]RUD - [Post] :: Create a new alertType, by passing a newly populated alertType
#Scenario: Add a alertType
# Given the following AlertType Add input
# | Code | FormatText |
# | SpecFlow | test |
# When I call the add AlertType Post api endpoint to add a alertType
# Then the add result should be a AlertType Id
#
@AlertType
#[C]RUD - [Post] :: Create a new alertType, by passing a newly populated alertType
Scenario: Add a alertType
Given the following AlertType Add input
| Code | FormatText |
| SpecFlow | test |
When I call the add AlertType Post api endpoint to add a alertType
Then the add result should be a AlertType Id

#@AlertTypes
##C[R]UD - [Get] :: Retrieve all alertTypes, without passing anything
#Scenario: Retrieve all alertTypes
@@ -37,7 +37,7 @@ Scenario: AlertType--Retrieve all AlertTypes
#
#@AlertType
##C[R]UD - [Get] :: Retrieve an existing alertType, by passing a alertType Id
#Scenario: Retreive a alertType by Id
#Scenario: Retrieve a alertType by Id
# Given the following AlertType GetById input
# | Id |
# | 3 |
@@ -37,7 +37,7 @@ Scenario: Appointment--Retrieve all Appointments
#
#@Appointment
##C[R]UD - [Get] :: Retrieve an existing appointment, by passing a appointment Id
#Scenario: Retreive a appointment by Id
#Scenario: Retrieve a appointment by Id
# Given the following Appointment GetById input
# | Id |
# | 2 |
@@ -37,7 +37,7 @@ Scenario: AppointmentType--Retrieve all AppointmentTypes
#
#@AppointmentType
##C[R]UD - [Get] :: Retrieve an existing appointmentType, by passing a appointmentType Id
#Scenario: Retreive a appointmentType by Id
#Scenario: Retrieve a appointmentType by Id
# Given the following AppointmentType GetById input
# | Id |
# | 2 |
@@ -4,54 +4,70 @@
I want to load a list of communities

@Community
#[C]RUD - [Post] :: Create a new community, by passing a newly populated community
Scenario: Add a community
#[C]RUD - [Post] :: Create, Check, GetById, Update and Delete Community, by passing a newly populated Community
Scenario: Community--Add, Check, GetById, Update and Delete Community
Given the following Community Add input
| FirstName | LastName | Email | MobileNumber |
| Spec | Flow | x@y.com | 800-555-1212 |
When I call the add Community Post api endpoint to add a community
Then the add result should be a Community Id
| Name |
| SpecFlow |
When I call the add Community Post api endpoint to add a Community it checks if exists pulls item edits it and deletes it
Then the add result should be a Community Id check exists get by id edit and delete with http response returns

@Communitys
#C[R]UD - [Get] :: Retrieve all communitys, without passing anything
Scenario: Retrieve all communities
@Communities
#C[R]UD - [Get] :: Retrieve all Communities, without passing anything
Scenario: Community--Retrieve all Communities
#Given I am an authenticated user
When I call the Community Get api endpoint
Then the get result should be a list of communities

@Community
#C[R]UD - [Get] :: Retrieve an existing community, by passing a community Id
Scenario: Retreive a community by Id
Given the following Community GetById input
| Id |
| 2 |
When I call the Community Get api endpoint by Id
Then the get by id result should be a Community

@Community
#CR[U]D - [Put] :: Update an existing community, by passing changes populated in community and its Id
Scenario: Update a community
Given the following Community Edit input
| Id | FirstName | LastName | Email | MobileNumber |
| 2 | Spec | Flow | x@y.com | 800-555-1212 |
When I call the edit Community Put api endpoint to edit a community
Then the edit result should be an updated Community

@Community
#CRU[D] - [Post] :: Delete an existing community, by passing a populated in community object
Scenario: Delete a community
Given the following Community Delete input
#use Id from recently added
| Id |
| 0 |
When I call the delete Community Post api endpoint to delete a community
Then the delete result should be an deleted Community

@Community
#Helper - [Get] :: Check for an existing community, by passing a community Id
Scenario: Check if a community exists
Given the following Community Id input
| Id |
| 2 |
When I call the Community Exists Get api endpoint by Id to verify if it exists
Then the Community exists result should be bool true or false
#@Community
##[C]RUD - [Post] :: Create a new community, by passing a newly populated community
#Scenario: Add a community
# Given the following Community Add input
# | FirstName | LastName | Email | MobileNumber |
# | Spec | Flow | x@y.com | 800-555-1212 |
# When I call the add Community Post api endpoint to add a community
# Then the add result should be a Community Id
#
#@Communities
##C[R]UD - [Get] :: Retrieve all communities, without passing anything
#Scenario: Retrieve all communities
# #Given I am an authenticated user
# When I call the Community Get api endpoint
# Then the get result should be a list of communities
#
#@Community
##C[R]UD - [Get] :: Retrieve an existing community, by passing a community Id
#Scenario: Retrieve a community by Id
# Given the following Community GetById input
# | Id |
# | 2 |
# When I call the Community Get api endpoint by Id
# Then the get by id result should be a Community
#
#@Community
##CR[U]D - [Put] :: Update an existing community, by passing changes populated in community and its Id
#Scenario: Update a community
# Given the following Community Edit input
# | Id | FirstName | LastName | Email | MobileNumber |
# | 2 | Spec | Flow | x@y.com | 800-555-1212 |
# When I call the edit Community Put api endpoint to edit a community
# Then the edit result should be an updated Community
#
#@Community
##CRU[D] - [Post] :: Delete an existing community, by passing a populated in community object
#Scenario: Delete a community
# Given the following Community Delete input
# #use Id from recently added
# | Id |
# | 0 |
# When I call the delete Community Post api endpoint to delete a community
# Then the delete result should be an deleted Community
#
#@Community
##Helper - [Get] :: Check for an existing community, by passing a community Id
#Scenario: Check if a community exists
# Given the following Community Id input
# | Id |
# | 2 |
# When I call the Community Exists Get api endpoint by Id to verify if it exists
# Then the Community exists result should be bool true or false
@@ -3,55 +3,72 @@
As a Community Administrator
I want to load a list of communityAdmins

@CommunityAdmin
#[C]RUD - [Post] :: Create a new communityAdmin, by passing a newly populated communityAdmin
Scenario: Add a communityAdmin
@CommunityAdmin
#[C]RUD - [Post] :: Create, Check, GetById, Update and Delete CommunityAdmin, by passing a newly populated CommunityAdmin
Scenario: CommunityAdmin--Add, Check, GetById, Update and Delete CommunityAdmin
Given the following CommunityAdmin Add input
| FirstName | LastName | Email | MobileNumber |
| Spec | Flow | x@y.com | 800-555-1212 |
When I call the add CommunityAdmin Post api endpoint to add a communityAdmin
Then the add result should be a CommunityAdmin Id
| Id |
| 1 |
When I call the add CommunityAdmin Post api endpoint to add a CommunityAdmin it checks if exists pulls item edits it and deletes it
Then the add result should be a CommunityAdmin Id check exists get by id edit and delete with http response returns

@CommunityAdmins
#C[R]UD - [Get] :: Retrieve all communityAdmins, without passing anything
Scenario: Retrieve all communityAdmins
#C[R]UD - [Get] :: Retrieve all CommunityAdmins, without passing anything
Scenario: CommunityAdmin--Retrieve all CommunityAdmins
#Given I am an authenticated user
When I call the CommunityAdmin Get api endpoint
Then the get result should be a list of communityAdmins

@CommunityAdmin
#C[R]UD - [Get] :: Retrieve an existing communityAdmin, by passing a communityAdmin Id
Scenario: Retreive a communityAdmin by Id
Given the following CommunityAdmin GetById input
| Id |
| 2 |
When I call the CommunityAdmin Get api endpoint by Id
Then the get by id result should be a CommunityAdmin

@CommunityAdmin
#CR[U]D - [Put] :: Update an existing communityAdmin, by passing changes populated in communityAdmin and its Id
Scenario: Update a communityAdmin
Given the following CommunityAdmin Edit input
| Id | FirstName | LastName | Email | MobileNumber |
| 2 | Spec | Flow | x@y.com | 800-555-1212 |
When I call the edit CommunityAdmin Put api endpoint to edit a communityAdmin
Then the edit result should be an updated CommunityAdmin

@CommunityAdmin
#CRU[D] - [Post] :: Delete an existing communityAdmin, by passing a populated in communityAdmin object
Scenario: Delete a communityAdmin
Given the following CommunityAdmin Delete input
#use Id from recently added
| Id |
| 0 |
When I call the delete CommunityAdmin Post api endpoint to delete a communityAdmin
Then the delete result should be an deleted CommunityAdmin

@CommunityAdmin
#Helper - [Get] :: Check for an existing communityAdmin, by passing a communityAdmin Id
Scenario: Check if a communityAdmin exists
Given the following CommunityAdmin Id input
| Id |
| 2 |
When I call the CommunityAdmin Exists Get api endpoint by Id to verify if it exists
Then the CommunityAdmin exists result should be bool true or false
#@CommunityAdmin
##[C]RUD - [Post] :: Create a new communityAdmin, by passing a newly populated communityAdmin
#Scenario: Add a communityAdmin
# Given the following CommunityAdmin Add input
# | FirstName | LastName | Email | MobileNumber |
# | Spec | Flow | x@y.com | 800-555-1212 |
# When I call the add CommunityAdmin Post api endpoint to add a communityAdmin
# Then the add result should be a CommunityAdmin Id
#
#@CommunityAdmins
##C[R]UD - [Get] :: Retrieve all communityAdmins, without passing anything
#Scenario: Retrieve all communityAdmins
# #Given I am an authenticated user
# When I call the CommunityAdmin Get api endpoint
# Then the get result should be a list of communityAdmins
#
#@CommunityAdmin
##C[R]UD - [Get] :: Retrieve an existing communityAdmin, by passing a communityAdmin Id
#Scenario: Retrieve a communityAdmin by Id
# Given the following CommunityAdmin GetById input
# | Id |
# | 2 |
# When I call the CommunityAdmin Get api endpoint by Id
# Then the get by id result should be a CommunityAdmin
#
#@CommunityAdmin
##CR[U]D - [Put] :: Update an existing communityAdmin, by passing changes populated in communityAdmin and its Id
#Scenario: Update a communityAdmin
# Given the following CommunityAdmin Edit input
# | Id | FirstName | LastName | Email | MobileNumber |
# | 2 | Spec | Flow | x@y.com | 800-555-1212 |
# When I call the edit CommunityAdmin Put api endpoint to edit a communityAdmin
# Then the edit result should be an updated CommunityAdmin
#
#@CommunityAdmin
##CRU[D] - [Post] :: Delete an existing communityAdmin, by passing a populated in communityAdmin object
#Scenario: Delete a communityAdmin
# Given the following CommunityAdmin Delete input
# #use Id from recently added
# | Id |
# | 0 |
# When I call the delete CommunityAdmin Post api endpoint to delete a communityAdmin
# Then the delete result should be an deleted CommunityAdmin
#
#@CommunityAdmin
##Helper - [Get] :: Check for an existing communityAdmin, by passing a communityAdmin Id
#Scenario: Check if a communityAdmin exists
# Given the following CommunityAdmin Id input
# | Id |
# | 2 |
# When I call the CommunityAdmin Exists Get api endpoint by Id to verify if it exists
# Then the CommunityAdmin exists result should be bool true or false
@@ -1,57 +1,74 @@
Feature: CommunityType
In order to see a list of communityTypes
As a Community Administrator
As a CommunityType Administrator
I want to load a list of communityTypes

@CommunityType
#[C]RUD - [Post] :: Create a new communityType, by passing a newly populated communityType
Scenario: Add a communityType
@CommunityType
#[C]RUD - [Post] :: Create, Check, GetById, Update and Delete CommunityType, by passing a newly populated CommunityType
Scenario: CommunityType--Add, Check, GetById, Update and Delete CommunityType
Given the following CommunityType Add input
| FirstName | LastName | Email | MobileNumber |
| Spec | Flow | x@y.com | 800-555-1212 |
When I call the add CommunityType Post api endpoint to add a communityType
Then the add result should be a CommunityType Id
| Code | FormatText |
| SpecFlow | test |
When I call the add CommunityType Post api endpoint to add a CommunityType it checks if exists pulls item edits it and deletes it
Then the add result should be a CommunityType Id check exists get by id edit and delete with http response returns

@CommunityTypes
#C[R]UD - [Get] :: Retrieve all communityTypes, without passing anything
Scenario: Retrieve all communityTypes
#C[R]UD - [Get] :: Retrieve all CommunityTypes, without passing anything
Scenario: CommunityType--Retrieve all CommunityTypes
#Given I am an authenticated user
When I call the CommunityType Get api endpoint
Then the get result should be a list of communityTypes

@CommunityType
#C[R]UD - [Get] :: Retrieve an existing communityType, by passing a communityType Id
Scenario: Retreive a communityType by Id
Given the following CommunityType GetById input
| Id |
| 2 |
When I call the CommunityType Get api endpoint by Id
Then the get by id result should be a CommunityType

@CommunityType
#CR[U]D - [Put] :: Update an existing communityType, by passing changes populated in communityType and its Id
Scenario: Update a communityType
Given the following CommunityType Edit input
| Id | FirstName | LastName | Email | MobileNumber |
| 2 | Spec | Flow | x@y.com | 800-555-1212 |
When I call the edit CommunityType Put api endpoint to edit a communityType
Then the edit result should be an updated CommunityType

@CommunityType
#CRU[D] - [Post] :: Delete an existing communityType, by passing a populated in communityType object
Scenario: Delete a communityType
Given the following CommunityType Delete input
#use Id from recently added
| Id |
| 0 |
When I call the delete CommunityType Post api endpoint to delete a communityType
Then the delete result should be an deleted CommunityType

@CommunityType
#Helper - [Get] :: Check for an existing communityType, by passing a communityType Id
Scenario: Check if a communityType exists
Given the following CommunityType Id input
| Id |
| 2 |
When I call the CommunityType Exists Get api endpoint by Id to verify if it exists
Then the CommunityType exists result should be bool true or false
#@CommunityType
##[C]RUD - [Post] :: Create a new communityType, by passing a newly populated communityType
#Scenario: Add a communityType
# Given the following CommunityType Add input
# | FirstName | LastName | Email | MobileNumber |
# | Spec | Flow | x@y.com | 800-555-1212 |
# When I call the add CommunityType Post api endpoint to add a communityType
# Then the add result should be a CommunityType Id
#
#@CommunityTypes
##C[R]UD - [Get] :: Retrieve all communityTypes, without passing anything
#Scenario: Retrieve all communityTypes
# #Given I am an authenticated user
# When I call the CommunityType Get api endpoint
# Then the get result should be a list of communityTypes
#
#@CommunityType
##C[R]UD - [Get] :: Retrieve an existing communityType, by passing a communityType Id
#Scenario: Retrieve a communityType by Id
# Given the following CommunityType GetById input
# | Id |
# | 2 |
# When I call the CommunityType Get api endpoint by Id
# Then the get by id result should be a CommunityType
#
#@CommunityType
##CR[U]D - [Put] :: Update an existing communityType, by passing changes populated in communityType and its Id
#Scenario: Update a communityType
# Given the following CommunityType Edit input
# | Id | FirstName | LastName | Email | MobileNumber |
# | 2 | Spec | Flow | x@y.com | 800-555-1212 |
# When I call the edit CommunityType Put api endpoint to edit a communityType
# Then the edit result should be an updated CommunityType
#
#@CommunityType
##CRU[D] - [Post] :: Delete an existing communityType, by passing a populated in communityType object
#Scenario: Delete a communityType
# Given the following CommunityType Delete input
# #use Id from recently added
# | Id |
# | 0 |
# When I call the delete CommunityType Post api endpoint to delete a communityType
# Then the delete result should be an deleted CommunityType
#
#@CommunityType
##Helper - [Get] :: Check for an existing communityType, by passing a communityType Id
#Scenario: Check if a communityType exists
# Given the following CommunityType Id input
# | Id |
# | 2 |
# When I call the CommunityType Exists Get api endpoint by Id to verify if it exists
# Then the CommunityType exists result should be bool true or false
@@ -21,7 +21,7 @@ Scenario: Retrieve all communityWorker_Alerts

@CommunityWorker_Alert
#C[R]UD - [Get] :: Retrieve an existing communityWorker_Alert, by passing a communityWorker_Alert Id
Scenario: Retreive a communityWorker_Alert by Id
Scenario: Retrieve a communityWorker_Alert by Id
Given the following CommunityWorker_Alert GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all communityWorkers

@CommunityWorker
#C[R]UD - [Get] :: Retrieve an existing communityWorker, by passing a communityWorker Id
Scenario: Retreive a communityWorker by Id
Scenario: Retrieve a communityWorker by Id
Given the following CommunityWorker GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all dataSyncs

@DataSync
#C[R]UD - [Get] :: Retrieve an existing dataSync, by passing a dataSync Id
Scenario: Retreive a dataSync by Id
Scenario: Retrieve a dataSync by Id
Given the following DataSync GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all familyMembers

@FamilyMember
#C[R]UD - [Get] :: Retrieve an existing familyMember, by passing a familyMember Id
Scenario: Retreive a familyMember by Id
Scenario: Retrieve a familyMember by Id
Given the following FamilyMember GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all industries

@Industry
#C[R]UD - [Get] :: Retrieve an existing industry, by passing a industry Id
Scenario: Retreive a industry by Id
Scenario: Retrieve a industry by Id
Given the following Industry GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all kiosks

@Kiosk
#C[R]UD - [Get] :: Retrieve an existing kiosk, by passing a kiosk Id
Scenario: Retreive a kiosk by Id
Scenario: Retrieve a kiosk by Id
Given the following Kiosk GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all kioskStatuses

@KioskStatus
#C[R]UD - [Get] :: Retrieve an existing kioskStatus, by passing a kioskStatus Id
Scenario: Retreive a kioskStatus by Id
Scenario: Retrieve a kioskStatus by Id
Given the following KioskStatus GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all modules

@Module
#C[R]UD - [Get] :: Retrieve an existing module, by passing a module Id
Scenario: Retreive a module by Id
Scenario: Retrieve a module by Id
Given the following Module GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all orgTypes

@OrgType
#C[R]UD - [Get] :: Retrieve an existing orgType, by passing a orgType Id
Scenario: Retreive a orgType by Id
Scenario: Retrieve a orgType by Id
Given the following OrgType GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all organizations

@Organization
#C[R]UD - [Get] :: Retrieve an existing organization, by passing a organization Id
Scenario: Retreive a organization by Id
Scenario: Retrieve a organization by Id
Given the following Organization GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all people

@Person
#C[R]UD - [Get] :: Retrieve an existing person, by passing a person Id
Scenario: Retreive a person by Id
Scenario: Retrieve a person by Id
Given the following Person GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all policies

@Policy
#C[R]UD - [Get] :: Retrieve an existing policy, by passing a policy Id
Scenario: Retreive a policy by Id
Scenario: Retrieve a policy by Id
Given the following Policy GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all requirements

@Requirement
#C[R]UD - [Get] :: Retrieve an existing requirement, by passing a requirement Id
Scenario: Retreive a requirement by Id
Scenario: Retrieve a requirement by Id
Given the following Requirement GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all requirementTypes

@RequirementType
#C[R]UD - [Get] :: Retrieve an existing requirementType, by passing a requirementType Id
Scenario: Retreive a requirementType by Id
Scenario: Retrieve a requirementType by Id
Given the following RequirementType GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all residents

@Resident
#C[R]UD - [Get] :: Retrieve an existing resident, by passing a resident Id
Scenario: Retreive a resident by Id
Scenario: Retrieve a resident by Id
Given the following Resident GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all roles

@Role
#C[R]UD - [Get] :: Retrieve an existing role, by passing a role Id
Scenario: Retreive a role by Id
Scenario: Retrieve a role by Id
Given the following Role GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all signOuts

@SignOut
#C[R]UD - [Get] :: Retrieve an existing signOut, by passing a signOut Id
Scenario: Retreive a signOut by Id
Scenario: Retrieve a signOut by Id
Given the following SignOut GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all users

@User
#C[R]UD - [Get] :: Retrieve an existing user, by passing a user Id
Scenario: Retreive a user by Id
Scenario: Retrieve a user by Id
Given the following User GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all vendors

@Vendor
#C[R]UD - [Get] :: Retrieve an existing vendor, by passing a vendor Id
Scenario: Retreive a vendor by Id
Scenario: Retrieve a vendor by Id
Given the following Vendor GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all vendorAdmins

@VendorAdmin
#C[R]UD - [Get] :: Retrieve an existing vendorAdmin, by passing a vendorAdmin Id
Scenario: Retreive a vendorAdmin by Id
Scenario: Retrieve a vendorAdmin by Id
Given the following VendorAdmin GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all vendorCredDocuments

@VendorCredDocument
#C[R]UD - [Get] :: Retrieve an existing vendorCredDocument, by passing a vendorCredDocument Id
Scenario: Retreive a vendorCredDocument by Id
Scenario: Retrieve a vendorCredDocument by Id
Given the following VendorCredDocument GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all vendorCredentials

@VendorCredential
#C[R]UD - [Get] :: Retrieve an existing vendorCredential, by passing a vendorCredential Id
Scenario: Retreive a vendorCredential by Id
Scenario: Retrieve a vendorCredential by Id
Given the following VendorCredential GetById input
| Id |
| 2 |
@@ -21,7 +21,7 @@ Scenario: Retrieve all vendorTypes

@VendorType
#C[R]UD - [Get] :: Retrieve an existing vendorType, by passing a vendorType Id
Scenario: Retreive a vendorType by Id
Scenario: Retrieve a vendorType by Id
Given the following VendorType GetById input
| Id |
| 2 |