File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ using MatthiWare . FinancialModelingPrep ;
2+ using Xunit ;
3+
4+ namespace Tests
5+ {
6+ public class ClientFactoryTests
7+ {
8+ [ Fact ]
9+ public void ResolveFinancialModelingPrepApi_Works ( )
10+ {
11+ var api = FinancialModelingPrepApiClientFactory . CreateClient ( new FinancialModelingPrepOptions ( ) ) ;
12+
13+ Assert . NotNull ( api ) ;
14+ }
15+
16+ [ Fact ]
17+ public void API_Contains_Calendars_Provider ( )
18+ {
19+ var api = FinancialModelingPrepApiClientFactory . CreateClient ( new FinancialModelingPrepOptions ( ) ) ;
20+
21+ Assert . NotNull ( api . Calendars ) ;
22+ }
23+
24+ [ Fact ]
25+ public void API_Contains_Company_Provider ( )
26+ {
27+ var api = FinancialModelingPrepApiClientFactory . CreateClient ( new FinancialModelingPrepOptions ( ) ) ;
28+
29+ Assert . NotNull ( api . CompanyValuation ) ;
30+ }
31+
32+ [ Fact ]
33+ public void API_Contains_AdvancedData_Provider ( )
34+ {
35+ var api = FinancialModelingPrepApiClientFactory . CreateClient ( new FinancialModelingPrepOptions ( ) ) ;
36+
37+ Assert . NotNull ( api . AdvancedData ) ;
38+ }
39+
40+ [ Fact ]
41+ public void API_Contains_MarketIndexes_Provider ( )
42+ {
43+ var api = FinancialModelingPrepApiClientFactory . CreateClient ( new FinancialModelingPrepOptions ( ) ) ;
44+
45+ Assert . NotNull ( api . MarketIndexes ) ;
46+ }
47+ }
48+ }
You can’t perform that action at this time.
0 commit comments